ssjv
I am trying to download a file a lot larger than 3 GB using FTPLibrary. This is a prototype I am checking before recommending the purchase by my Client. The problem I am seeing is the the documentation shows for IFTPConnection.Downloadfile the signature is HRESULT DownloadFile(
[in] BSTR szRemoteFile,
[in] BSTR szLocalFile,
[in] long nStartPosLo,
[in] long nStartPosHi,
[out, retval] enumError * retval
);
However when I am trying to use this from .NET I am seeing nStartPosLo and nStartPosHi as int and the size of my file is larger than the int.
I am using FTPConnectionMTA and then DownloadFile method which is showing the signature as int. Also the public properties for LastFileSizeLo and High are returning int as well. Can you please let me know how I should handle files larger than the size the integer can hold.
Thank you
[in] BSTR szRemoteFile,
[in] BSTR szLocalFile,
[in] long nStartPosLo,
[in] long nStartPosHi,
[out, retval] enumError * retval
);
However when I am trying to use this from .NET I am seeing nStartPosLo and nStartPosHi as int and the size of my file is larger than the int.
I am using FTPConnectionMTA and then DownloadFile method which is showing the signature as int. Also the public properties for LastFileSizeLo and High are returning int as well. Can you please let me know how I should handle files larger than the size the integer can hold.
Thank you