Solved

FTP

Posted on 2000-04-10
6
235 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 100 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
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.

 
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

792 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