Call a web service on the production machine that checks the files existance...
Just a thought... L. -----Original Message----- From: Giles Roadnight [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 11:25 To: [EMAIL PROTECTED] Subject: [ cf-dev ] CFFTP Hi I'm writing an application that FTP's images to the live server. If I don't get any error from CFFTP can I be sure that the image has arrived safely and it's entirity? At the moment after each image is FTP'd I then do another FTP to get the directory contents, loop through this to get the size of the remote image and compare it to the local copy. if they are the same it updates the DB to say the image has been FTP'd, if not it tries again. As there are 8,000 images in some of these directories this takes a while, if I have 500 images to FTp it will take ages. If I can't rely on CFFTP delivering the image and it doesn't give me an error if it doesn't work does anyone have a better way of checking that the file has arrived? As far as I am aware you can't get just one file record using FTP, you have to get the entire directory. Thanks Again Giles -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
