SmartFTP FTP Library
IFTPConnection::UploadFileEx Method

Uploads the specified local file to a specified remote file.

HRESULT UploadFileEx(
    [in] VARIANT localFile, 
    [in] BSTR remoteFile, 
    [in] ULONGLONG startPosition, 
    [in] ITransferProgressEvents* progress

An indicator of the local file. This may be a path to a file (String/BSTR), an IStream or any object that supports IStream.
The name of the remote file.
The restart position of the local file.

The client opens a data connection and uploads the file with the STOR command. If nStartPosition is greater than zero, the client sends a REST command and the transfer is being resumed from this position.

What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.