Welcome to the Xceed Community | Help
Community Search  
More Search Options

How to identify file is successfully copied before start downloading through Xceed FTP component

Sort Posts: Previous Next
  •  04-08-2011, 2:49 AM Post no. 30140

    How to identify file is successfully copied before start downloading through Xceed FTP component

    My Question is given below:

    We are doing automation for downloading the files from on customer FTP to our local server. Customer is copying their files to FTP in .zip format. We have one engine to download the files automatically. This engine will watch the FTP frequently some time interval gap and what ever the .zip files available in the FTP it will be downloading. But the problem occurs when download the .zip file is it corrupted because successful copy is not completed in the customer end before that engine take the file in FTP.

    How to solve this problem. Due to this problem we are not able to automate the process.

    It would be great help if any reply for this question. 

     

  •  04-20-2011, 2:22 PM Post no. 30204 in reply to 30140

    Re: How to identify file is successfully copied before start downloading through Xceed FTP component

    Hi makesh,

     I'm not sure this is the answer you're looking for, but speaking of own experience we usually have two folders:

    1. /infolder/temp
    2. /infolder

    And when customers upload files to our server they upload them to the /infolder/temp and once the upload has been
    completed they "move" the file (rename command) to the /infolder, that way we are always assured that the files that
    are located in the /infolder are completly uploaded by the customer since they perform the move once the file has been
    uploaded in its entirety. :)

    This is more or less a de facto standard within the logistics industry when it comes to data transfers.

    Good Luck!
    Johannes

  •  04-22-2011, 8:50 AM Post no. 30223 in reply to 30204

    Re: How to identify file is successfully copied before start downloading through Xceed FTP component

    No. You understand is wrong. There is only one folder in FTP and FTP is maintained by Customer. Our work is to download the files from customer folder. Customer will not move the file to other folder after successful copy. They only copy the files to single folder.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.