Good afternoon all, I'm having a little trouble with Indy's FTP component. The last time this particular project was compiled was with Delphi 7. Needless to say, I did not write this code.
All I did was compile this project again with Delphi 2007. To do that I had to change just 2 things: 1. Added 'idglobalProtocols' to the Uses statement so CopyFileTo() will work. 2. Changed the call to TIdFTP's Connect method. TIdFTP's Connect had changed in 2004 to remove parameters. Old code... cmFtp.Connect(true); I changed to.. cmFtp.AutoLogin := true; cmFtp.Connect; With that as the ONLY change, the old exe works perfectly in transferring a file, but the new exe comes up with "Problem collecting <filename>". Has anyone been through this before? Should I be doing/setting something else? Steve -- Steve Peacocke http://stevepeacocke.blogspot.com/ _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
