FTP Programming

S

Squirrel Havoc

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
 
T

Thomas Matthews

Squirrel said:
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
 
R

Richard Bos

Thomas Matthews said:
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
 
M

Michael Wojcik

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 (e-mail address removed)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,159
Messages
2,570,879
Members
47,416
Latest member
LionelQ387

Latest Threads

Top