Page 1 of 1

QFTP

Posted: Mon Sep 28, 2009 5:25 pm
by MichaelMo
I'm wondering if others have had better luck downloading files with QFTP? I'm able to send files just fine, but when I attempt to download something with the RETR method (even with no meters or text), the file does not always begin downloading properly. It's seems hit and miss. It looks to be a 2003 version of QFTP that I found at xharbour. Is there a known bug, or a newer version of this lib that I should be using?


/ Original work from Alex Shaft & Peter Kohler, with mods by Byron Hopp, Rimantas Usevicius
// Modified by Luis Krause May 10, 2003, Optimized and cleaned up code
// Fixed ::Retr() & ::Dir() bugs
// added progress bar capability
// Made socket calls compatible with modified TSocket class (TSmtp, etc.)
// Added a timeout to escape from ::DoWait() to avoid hanging up the system
// Added Proxy support (needs more testing)
// October 14, 2003, Optimized ::Retr() & ::Dir() more - much faster now
// ::oTrnSocket wasn't being properly released. Fixed!
// May 8, 2003 More fixes to ::Retr???() methods
// Fixed ::Stor(), added IVAR nDelay to allow upload to work
// Entries in log file use the following codes:
// "E:" an error occurred; description follows
// "I:" info about the current operation executed
// "S:" data/action sent to the ftp server
// "R:" reply/response returned by ftp server