?
Solved

FTP

Posted on 2000-04-10
6
Medium Priority
?
273 Views
Last Modified: 2013-11-13
I am interested in the various commands and responses used in FTP. I've started writing an FTP client, but I don't want to go to far before I learn what responses are possible. For example, when you first connect, the server responds with "220 ...". What else could it respond with?

Thanks!
0
Comment
Question by:KDivad
6 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 300 total points
ID: 2701992
check out www.vbip.com  they give full source code for an ftp client
0
 

Expert Comment

by:Arachn1d
ID: 2702192
What you're looking for is a RFC - a Request for Comments. These are documents that contain details on the implementation of current or proposed internet standards. The one you're looking for can be found at:
http://www.rfc.net/get2.php3/rfc959.html
This contains a full list of all valid server replies, as well as a _large_ amount of documentation on the protocol itself, etc.
0
 
LVL 7

Expert Comment

by:kamall
ID: 2702483
Look at:
http://www.planet-source-code.com
Make a search for FTP. You will find a lot of code snippests for FTP with FTP commands and replies explained.
Regards.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
LVL 2

Expert Comment

by:gelog
ID: 2703269
Hi KDivad,

I've done a lot of work about the topic. I'm a creator of vbip.com. Take a look at the FTP Quick Refernce (http://www.vbip.com/winsock/winsock_ftp_ref_01.htm). You will found out there all the FTP commands and possible reply codes. Also take a look at the FTP Client example built with the MS Winsock Control (http://www.vbip.com/winsock/winsock_ftp_client_01.asp) and the "Secrets of FTP" article (http://www.vbip.com/winsock/winsock_ftp_01.asp).

Good luck and welcome to http://www.vbip.com
0
 
LVL 5

Author Comment

by:KDivad
ID: 2705256
Sorry gelog,
Link #1 is little more than a rewrite of the link posted by Arachn1d.
Link #2 was already suggested by Azrasound. (Sort of... he/she pointed me to the main site and mentioned the existence of the app)
Link #3 I've already seen. It wasn't much help at all.
You've got a good answer, I just can't accept it.
0
 
LVL 5

Author Comment

by:KDivad
ID: 2705274
I've gotten several posts with good listings of the codes or source using the codes. Thanks everyone! However, AzraSound posted first.

AzraSound, I've graded with a "B" since I had to search the site for what I wanted.

Thanks again!

Later,
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
As a person who answers a lot of questions, I often see code that could be simplified, made easier to read, and perhaps most importantly made easier to maintain if the code was modified to use the Select Case statement. This article explains how to…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

584 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question