Home Forums .NET libraries Xceed SFTP/FTP for .NET Sample Download Restart

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #20801 |

    Message to the Xceed Support folks:

    Hi,

    Would you please provide us with the necessary C# code demonstrating the restarting of a failed download? What I’d like to accomplish is to retry a failed download three times with a 5 minute interval between each attempt.

    Thanks.

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by mdengler (had 2433 views)

    User (Old forums)
    Member
    Post count: 23064

    Refer to the following <a href=”http://www.xceedsoft.com/Forums/ShowPost.aspx?PostID=3990″>post</a&gt;, which explains how to restart a file transfer in details, when uploading to a server, using the SendFile() method.

    When downloading from a server, you can simply use the ReceiveFile() method, which offers an offset parameter that will eases the task of resuming.

    Then implement your own time waiting routine, so it resumes when you want.

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by André (had 3444 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.