Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

mzh4xc

Posts

3

Joined

Fri Mar 27, 2015 8:01 am

Disabling of automatic retry on UploadByteArray

by mzh4xc » Tue Mar 31, 2015 12:31 am

I was wondering on how to disable the retry logic for partial upload when calling the UploadByteArray method?

Do I set the RetryCount property to 0 and also call the CancelResume() method during the exception handler events?

Thank you for any response.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Disabling of automatic retry on UploadByteArray

by support2 » Tue Mar 31, 2015 2:17 am

Yes, just set the RetryCount to 0. You shouldn't need to call CancelResume().
no avatar
User

mzh4xc

Posts

3

Joined

Fri Mar 27, 2015 8:01 am

Re: Disabling of automatic retry on UploadByteArray

by mzh4xc » Tue Mar 31, 2015 4:24 am

So by default what is the RetryCount property set to just out of curiosity sake?
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Disabling of automatic retry on UploadByteArray

by support2 » Tue Mar 31, 2015 6:49 am

3
no avatar
User

mzh4xc

Posts

3

Joined

Fri Mar 27, 2015 8:01 am

Re: Disabling of automatic retry on UploadByteArray

by mzh4xc » Tue Jun 02, 2015 10:31 am

It shouldn't happen with the retry set to 0. Post the relevant part of the debug log file.

Who is online

Users browsing this forum: Google [Bot] and 1 guest

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron