Resume Function (General questions)
Good day,
I'd like to ask how can i use the resume function of this component. State a scenario like this.
I've upload a file. But the connection was disconnected/went wrong. Then I tried to upload again. There's an error said:
Cannot use Append method when Resume property is set to True.
Can you give me a sample that continue/resume the upload that has been disconnected? And what would happened if I try to upload a new one?
Regards,
Dan
Re: Resume Function
Michael,
don't use Append, use PutFile again. Using Append doesn't make sense, right? How will we detect where upload was broken when we're adding to remote file, and most probably it's larger than local one.
Re: Resume Function
I'm using wod.putfiles Because I'm transfering a folder to the FTP site.
Is there's a way to resume the broken upload or download? Before I transfer a file/folder?
Re: Resume Function
Michael,
Resume property should help you, I think it will work just by setting it to True. Did you try it? What happens?
Re: Resume Function
I'll try to use 'll and make some testing... I'll post the result later.
Thanks for the help..
Dan
Re: Resume Function
Hi, Thanks for the help. It works now. But can i ask how could i know if the upload/download is finished w/out any errors?
Re: Resume Function
Error would be thrown if there is one, and you would see it in Done event.