Lost Password?

  #1 (permalink)  
Old 12-05-2006, 07:10 PM
smith smith is offline
Programmer
 
Join Date: Jun 2006
Posts: 108
Rep Power: 9
smith is on a distinguished road
Default FTP Client

I intend on creating an FTP client. Can someone tell me how the protocol responds when I connect and how I need to answer.

EX:

** Connection Made **
Ftp Server> Hello
client > Hello

etc....
__________________
Code:
for (int i;;) {
   cout << "Smith";
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 12-05-2006, 11:54 PM
TcM's Avatar   
TcM TcM is offline
Moderator
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 7,339
Rep Power: 66
TcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud of
Default

This might help you
These are RAW FTP commands.. is this what you need?

FTP command Description
CDUP Change to parent directory.
CWD Change working directory or library.
DELE Delete file or document.
HELP Help on the FTP server.
LIST File list.
MKD Make directory.
MODE Set transfer mode.
NLST Name list.
NOOP Obtain server response.
PASS Password.
PASV Use passive data connection.
PORT Data port.
PWD Print working directory.
QUIT End an FTP server system.
RETR Retrieve file.
RMD Remove directory.
RNFR Rename from.
RNTO Rename to.
STOR Store file.
STRU Specify file structure.
SYST Identify the name of the operating system.
TYPE Specify representation type.
USER Send a user logon ID to the server.
XCUP Change to parent directory.
XCWD Change working directory or library.
XMKD Make directory.
XPWD Display working directory or library.
XRMD Remove directory.

Last edited by TcM; 12-05-2006 at 11:56 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-06-2006, 08:33 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Age: 26
Posts: 5,963
Last Blog:
SAP, ERP and EDI
Rep Power: 20
Jordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud of
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

Here are samples in C# which you should be able to easily convert to Managed C++:

http://www.example-code.com/csharp/ftp.asp
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
Don't hesitate to ask any questions that you have! Check out our ASCII Calculator!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code: Managed C# Instant Messanger Client Lop CSharp Tutorials 12 09-03-2008 04:05 PM
Transmitting video capture from server to client (Newbie) MrNobody Visual Basic Programming 30 05-02-2008 04:18 PM
MySQL Client Software NeedHelp Database & Database Programming 8 10-10-2007 04:42 PM
Delphi Sockets : Simple client and server program tosh5457 Pascal/Delphi 0 05-26-2007 11:00 AM
How to deal with non-paying client? RobSoftware The Lounge 8 07-29-2006 07:03 PM


All times are GMT -5. The time now is 11:56 PM.

Contest Stats

John ........ 223.00000
dargueta ........ 168.00000
Xav ........ 164.00000
LogicKills ........ 20.00000
sam ........ 20.00000
gaylo565 ........ 18.00000
|pH| ........ 15.00000
WingedPanther ........ 15.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 67%

Ads