|
Summary
Unique connection id.
Description
The Id property specifies a unique connection id for the FTP client. This Id will be different for each connection established through the ActiveX control.
This id can be used as the RemoteId of another FTP Client to transfer files remotely. Remote to remote file transfers can then be initiated by the other FTP client by calling the Remote/RemoteAppend
method (or setting its FileAction property to FILE_ACTION_REMOTE or FILE_ACTION_REMOTE_APPEND). See the documentation on RemoteId, Remote and RemoteAppend for more information on remote to remote
file transfer.
The id can be retrieved after a successful connection (ie. After setting the Action property to ACTION_CONNECT, or calling the Connect method). There is no default value for this property.
Example
Result = FtpClient2.Remote (FtpClient.Id, "test, "abc")
If Result = False Then
Msgbox "Cannot perform the specified remote to remote operation", 64, "Sample Program"
End If
|