Lost Password?


  #1 (permalink)  
Old 12-05-2006, 08: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-06-2006, 12:54 AM
TcM's Avatar   
TcM TcM is offline
Code Warrior
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 8,332
Rep Power: 68
TcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of light
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-06-2006 at 12:56 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-06-2006, 09:33 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,648
Last Blog:
PHP Objects, Patterns,...
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
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
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
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
Forum Jump

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


All times are GMT -5. The time now is 05:57 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads