Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.8k views
in .NET FTP by (160 points)
Hi,
I am trying to download the large zip file (around 600 MB) from the FTP Server. After file has been downloaded for certain size lets say 200 MB, i disconnect my computer from the network and i could see that downloaded file remains in my computer for few seconds but then it gets deleted automatically. So when i restart download, though i have written ResumeTransfer() before calling DownloadFile(), since my downloaded file has already been deleted, the download process starts from the the beginning rather than the point where last download happen.

But when i do CancelTransfer from my App during Downloading, the download file is not being deleted and the next time when download happens, the resume does work and starts from the point where it last downloaded.

so my problem is the downloaded file being automatically deleted when the network connection gets broken. Please let me know if anyone of us has ever face or dealt this issue.

Thanks,
Raju

2 Answers

0 votes
by (162k points)
Try setting the DeleteOnFailure property to false.
0 votes
by (160 points)
Thanks Bruce. It works. I really appreciate it.

Categories

...