Home Forums ActiveX components Xceed FTP for ActiveX Is it possible to resume a broken download or upload with the Xceed FTP Library?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #42850 |

    Yes. In order to resume a broken download you need to get the length of the file on your local drive and pass this value to the lRemoteOffset parameter of the ReceiveFile method. This will resume the download from the correct point. You also need to set the eAction parameter of the ReplacingFile event to fraAppend.

    To resume a broken upload, you will need to get the size of the file on the FTP server and pass this value to the lLocalOffset parameter of the SendFile method.

    Imported from legacy forums. Posted by Xceed admin (had 1640 views)

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.