Hello, I expanded Charlie Boisseau's FTP Upload Class to do all FTP commands necessary for a full FTP client. This is done in pure RB code, so it should be platform independent I hope. It's been tested on Quick 'n Easy FTP Server Lite (windows freeware FTP server) running locally and everything seems to be ok. I can login, upload and download files in both passive and active mode, parse FTP lists, navigate the FTP structure, delete files, rename files/directories, make directories, remove directories,... On our online ftp server I can also login, parse the FTP list, navigate the FTP structure, delete files, rename files/directories, make directories and remove directories. The problem I have is with uploading and downloading files to/from our online FTP server. For some strange reason the filesize after upload/download is no longer the same as the filesize of the original file. For instance when I download a file with as size 3179079 bytes, the size of the download is 3208024 (I checked and this seems to be the size of the received filestream) or when I upload a file that's 589KB, the file on the server has a size of 588KB. This does not happen when I test it on the local server. If anyone with some knowledge of sending files over TCP would take a look, I would appreciate it.
Thanks in advance, Dirk Cleenwerck Chief programmer Useitgroup NV Belgium FTPr2.zip FTP Class (please note that this is code under development and not fit for everyday use) www.useitgroup.net/bouwsoft/bestanden/realbasic/FTPr2.zip Tested on Quick 'n Easy FTP Server Lite http://www.pablosoftwaresolutions.com/html/quick__n_easy_ftp_server_lite.html Used Code : FTP Upload v1.1 by Charlie Boisseau http://www.boisseau.co.uk/code/ FTP Server parsing by Davie Lee Reed http://www.smatters.com/ics/ Socket Speed Test.rb by Aaron Ballman http://www.aaronballman.com/programming/REALbasic/examples.php _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
