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?
This forum is not monitored by the SmartFTP staff. If you have a license please contact technical support by email.
2 posts • Page 1 of 1
- Posts: 12029
- Joined: Thu Oct 11, 2001 1:24 pm
- Display name: Mat (SmartFTP)
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.