473,396 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

FTP Programming

I am starting to write an FTP server, but I don't understand the PASV
protocol. RFC's haven't been much help, since they don't describe what it
is, or how it's done. Just what it can do (I think that's right).

Can anyone point me into the direction where I can find answers?

I have tried looking at sourcecode for FTP servers, but the PASV code is so
intertwined with the rest, I can't single it out (I am new at network
programming).

Thanks, and sorry if this is the wrong server to post about this

Squirrel Havoc
Nov 14 '05 #1
3 3047
Squirrel Havoc wrote:
I am starting to write an FTP server, but I don't understand the PASV
protocol. RFC's haven't been much help, since they don't describe what it
is, or how it's done. Just what it can do (I think that's right).

Can anyone point me into the direction where I can find answers?

I have tried looking at sourcecode for FTP servers, but the PASV code is so
intertwined with the rest, I can't single it out (I am new at network
programming).

Thanks, and sorry if this is the wrong server to post about this

Squirrel Havoc


Yep, this is the wrong newsgroup.
Networking is platform dependent, so a better group is
a newsgroup that discusses your operating system.

Read the FAQs and welcome.txt below for more appropriate
newsgroups.
--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library

Nov 14 '05 #2
Thomas Matthews <Th*************************@sbcglobal.net> wrote:
Squirrel Havoc wrote:
I am starting to write an FTP server, but I don't understand the PASV
protocol. RFC's haven't been much help, since they don't describe what it
is, or how it's done. Just what it can do (I think that's right).


Yep, this is the wrong newsgroup.
Networking is platform dependent, so a better group is
a newsgroup that discusses your operating system.


And OTOH, FTP, including PASV, is well-defined in a semi-platform-
independent way in the RFCs, so perhaps it would be more useful to find
a protocol group. Sorry, no idea which; perhaps somewhere in
comp.protocols.

Richard
Nov 14 '05 #3

In article <Xn**********************************@151.164.30.4 2>, Squirrel Havoc <squirrelhavoc(takeout)@(takeout)yahoo.com> writes:
I am starting to write an FTP server, but I don't understand the PASV
protocol. RFC's haven't been much help, since they don't describe what it
is, or how it's done. Just what it can do (I think that's right).
The relevant RFCs describe PASV in sufficient detail to produce a
compliant implementation. There are various other treatments of the
subject available in print and electronic form, if you need additional
information..
Can anyone point me into the direction where I can find answers?
For Usenet, comp.protocols.tcp-ip. See in particular Uri Raz's
periodic post listing TCP/IP references.

For anything else, try Google.
Thanks, and sorry if this is the wrong server to post about this


Presumably it was the right server, since your post made it to Usenet.
If you're going to use Usenet, you should learn how it works and what
terminology to use. The traditional mechanism for this (various groups
in the news.* hierarchy) unfortunately is largely useless these days
due to spam. I recommend consulting RFC 1855, which has a brief but
useful discussion of both the medium and its conventions.

comp.lang.c is the wrong group, however. FTP is not covered by the C
standard. The two are entirely unrelated.

--
Michael Wojcik mi************@microfocus.com

Against all odds, over a noisy telephone line, tapped by the tax authorities
and the secret police, Alice will happily attempt, with someone she doesn't
trust, whom she can't hear clearly, and who is probably someone else, to
fiddle her tax return and to organise a coup d'etat, while at the same time
minimising the cost of the phone call. -- John Gordon
Nov 14 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Martin | last post by:
When was inheritance intruduced into object oriented programming? More generally, does anyone know or have any sources on when the different features were introduced into object oriented...
12
by: G. | last post by:
Hi all, During my degree, BEng (Hons) Electronics and Communications Engineering, we did C programming every year, but I never kept it up, as I had no interest and didn't see the point. But now...
3
by: user | last post by:
Hi all, At the outset, I regret having to post this slightly OT post here. However, I strongly feel that people in this group would be the best to advise me on my predicament. I am working as...
134
by: evolnet.regular | last post by:
I've been utilising C for lots of small and a few medium-sized personal projects over the course of the past decade, and I've realised lately just how little progress it's made since then. I've...
7
by: Robert Seacord | last post by:
The CERT/CC has just deployed a new web site dedicated to developing secure coding standards for the C programming language, C++, and eventually other programming language. We have already...
30
by: Jakle | last post by:
I have been googling, but can seem to find out about C GUI libraries. My main platform is Windows, but it would be nice to find a cross platform library. I've been programming with php, which...
47
by: Thierry Chappuis | last post by:
Hi, I'm interested in techniques used to program in an object-oriented way using the C ANSI language. I'm studying the GObject library and Laurent Deniau's OOPC framework published on his web...
111
by: Enteng | last post by:
Hi I'm thinking about learning C as my first programming language. Would you recommend it? Also how do you suggest that I learn it?What books/tutorials should I read for someone like me? Thanks...
14
by: deko | last post by:
For building Windows desktop apps, the clear favorite is C#. But my clients can't afford to buy Microsoft products. So I need to develop software for Linux users and web applications. In the...
17
by: CoreyWhite | last post by:
I bought this book years ago, when I was just learning C++. Since then I've gone through every math course offered at my college, taken courses on coding C & thinking in terms how how to make the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.