The following is an example of a successful Serv-U test using telnet. Download files --------------------------------------------------------------------------- Telnet 127.0.0.1 21 220 Serv-u ftp server v4.0 for Winsock ready... User admin 331 user name Okay, need password. Pass **** 230 user logged in, proceed. PASV 227 entering passive mode <127,0, 4,191,> Rest 0 350 restarting at 0. Send store or retrieve. RETR test.rar 150 opening ASCII mode data connection for test.rar <94370 bytes>. 226 transfer complete. Upload files in overwriting Mode --------------------------------------------------------------------------- Telnet 127.0.0.1 21 220 Serv-u ftp server v4.0 for Winsock ready... User admin 331 user name Okay, need password. Pass **** 230 user logged in, proceed. Stor test. dat 150 opening ASCII mode data connection for test. dat PASV 227 entering passive mode <127,0, 4,191,> ... Create another connection to the specified port and send data to it... Upload files by append --------------------------------------------------------------------------- Telnet 127.0.0.1 21 220 Serv-u ftp server v4.0 for Winsock ready... User admin 331 user name Okay, need password. Pass **** 230 user logged in, proceed. Appe test. dat 150 opening ASCII mode data connection for test. dat PASV 227 entering passive mode <127,0, 4,191,> ... Create another connection to the specified port and send data to it... Rename files and directories --------------------------------------------------------------------------- Telnet 127.0.0.1 21 220 Serv-u ftp server v4.0 for Winsock ready... User admin 331 user name Okay, need password. Pass **** 230 user logged in, proceed. RNFR sss.rar 350 file or directory exists; ready for destination name RNTO stock.rar 250 RNTO command successfull. Delete an object --------------------------------------------------------------------------- Telnet 127.0.0.1 21 220 Serv-u ftp server v4.0 for Winsock ready... User admin 331 user name Okay, need password. Pass **** 230 user logged in, proceed. Dele test. dat 250 DELE Command successfull. Create and delete directories --------------------------------------------------------------------------- Telnet 127.0.0.1 21 220 Serv-u ftp server v4.0 for Winsock ready... User admin 331 user name Okay, need password. Pass **** 230 user logged in, proceed. MKD mydir 257 "/mydir" directory created. RMD mydir 250 RMD Command successfull. Disconnect --------------------------------------------------------------------------- Telnet 127.0.0.1 21 220 Serv-u ftp server v4.0 for Winsock ready... User admin 331 user name Okay, need password. Pass **** 230 user logged in, proceed. Quit 221 goodbye! |