Author | Topic: FTP Directory | |
---|---|---|
Stephan Koenig | FTP Directory on Wed, 29 Jan 2003 11:03:27 -0500 Hi, what do I have to do if I want to get a directory of the contens of the remote server ? In other words, I need to download a file via FTP but the filename changes every day. I need to do a "dir" or something, how do I do that ? Thanks Stephan | |
Thomas Braun | Re: FTP Directory on Thu, 30 Jan 2003 09:21:25 +0100 Stephan Koenig wrote: > what do I have to do if I want to get a directory of the contens of > the remote server ? What are you usin, the ASINET library? If yes, then you do not have this option yet since asinet only supports the basic ftp operations get, put and delete. If you need functions like LIST, you will have to implement it yourself using the socket functions. The relevant RFCs needed for the implementation can be found here: http://fsinfo.cs.uni-sb.de/~abe/Links/single.php3?rfc-ftp www.rfc-editor.org As a start, I would use rfc959. regards Thomas Braun web: www.software-braun.de / email: nospam@wegasoft.de If you need to send email, substitute "nospam" with my initials since the spam account is not checked on a regular basis. Xbase++ FAQ : faq.xbasecentral.net |