Jump to content


Photo

Adding resume capability to a C# application


  • Please log in to reply
1 reply to this topic

#1 zephyr26

zephyr26
  • Members
  • 1 posts

Posted 26 April 2008 - 07:32 AM

Hi,

How should the parameters nStartPosLo and nStartPosHi in the DownloadFile function, be set while using the sfFTPLib.dll component in a C# application? Assuming we can retrive the position at which file transfer was stopped so do we provide that byte value or is there some other method?

#2 mb

mb

    Developer

  • Administrators
  • 11521 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 26 April 2008 - 12:23 PM

Use the GetFileSize() function to get the size of the remote file. Then pass the values to the nStartPosLo and nStartPosHi arguments of the DownloadFile function.

Regards,
Mat




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users