Avoid Truncating download of Large files
Hi,
I use the following script to download to local dir.
option batch on
option confirm off
open sftpsite -timeout=999
option transfer binary
cd /home/Large_File/
get L*.csv G:\Large_File -Delete -neweronly
How would you script/code in order to avoid downloading locally a partial file ? I have huge file on sFTP (1-2 GB). It takes about 7-8minutes daily to upload the files.
I want to execute my script only when the download is completed. How would I approach this problem?
Thanks
I use the following script to download to local dir.
option batch on
option confirm off
open sftpsite -timeout=999
option transfer binary
cd /home/Large_File/
get L*.csv G:\Large_File -Delete -neweronly
How would you script/code in order to avoid downloading locally a partial file ? I have huge file on sFTP (1-2 GB). It takes about 7-8minutes daily to upload the files.
I want to execute my script only when the download is completed. How would I approach this problem?
Thanks