Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Upload/Download Conflict.
FTPUSER

From: red bank, NJ USA
Posts: 8
Member Since: 09/26/02
posted May 8, 2003 10:51 AM

Hi,

We are using Visual Basic 6.0 (SP5) with FTP ActiveX Control.

We have a process that runs at specific time intervals and tries to upload and download files to various ftp sites. While the users were uploading files, the automated process started to download the files. We received incomplete files because the download happened while the files were being up loaded.

To address this issue, the process was changed to get files using MGET and verify the byte size on the files downloaded versus the files on the ftp site. If the bytes size doesn’t match with the files on the ftp site, the process deletes the local file and will try to download the file in the next process run.

I would like to know if anyone had this problem? If Yes, Is there a better way to handle this issue.

Thanks
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted May 9, 2003 10:47 AM

Hi,
Comparing the downloaded file size with the file's size on the server seems reasonable, as a check for this kind of occurrence.
-ken
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX