Resume Function - WeOnlyDo Discussion board

Resume Function (General questions)

by michael090, Wednesday, April 06, 2005, 02:31 (6983 days ago)

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

by wodSupport, Wednesday, April 06, 2005, 02:33 (6983 days ago) @ michael090

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

by michael090, Wednesday, April 06, 2005, 02:40 (6983 days ago) @ wodSupport

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

by wodSupport, Wednesday, April 06, 2005, 02:41 (6983 days ago) @ michael090

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

by michael090, Wednesday, April 06, 2005, 02:47 (6983 days ago) @ wodSupport

I'll try to use 'll and make some testing... I'll post the result later.


Thanks for the help..
Dan

Re: Resume Function

by michael090, Wednesday, April 06, 2005, 03:29 (6983 days ago) @ michael090

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

by wodSupport, Wednesday, April 06, 2005, 10:41 (6983 days ago) @ michael090

Error would be thrown if there is one, and you would see it in Done event.