simple FTP client
Posted on 2006-05-23
I am writing a simple FTP client program , which have to:
1- connect to the FTP server
2- sends user name and password
4- show the files(not other sub directorie) in the directory (eithe the dorectory user inserts or current directory)
5- recieve all those files.
in this part I have successfully connected to the FTP server, and I am trying to send my user name and password to the ftp server, my question is , is there any object or struct of type FTP, with USER and PASS field, or I should send them buy string buffers?
my program is to perform an anonymous login. This means the user name is to be ftp and the password will be the login name of the current user, followed by '@' and the fully qualified name of the host the application is running on.