Solved

FTP

Posted on 2000-04-10
6
249 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This video teaches viewers about errors in exception handling.
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…

728 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