IFileTransfer emcompass several file transfers implemented with different file transfer protocols such as FTP, Kermit, XModem and ZModem." />
Attachmate.Reflection.Emulation.OpenSystems Assembly > Attachmate.Reflection.Emulation.OpenSystems Namespace : IFileTransfer Interface |
For a list of all members of this type, see IFileTransfer members.
Name | Description | |
---|---|---|
AbortTransfer | Aborts a file transfer in progress (for any of the supported transfer protocols: Kermit, WRQ/Reflection, Xmodem, or Zmodem) without communicating with the host program. This method is more drastic than CancelTransfer, and may leave the host in an unpredictable state. Use AbortTransfer only if you believe the host transfer program has stopped responding; otherwise use CancelTransfer. This method is not likely to be useful in a macro because all transfer methods must complete execution before subsequent commands are executed. AbortTransfer can be useful for mapping to custom items such as toolbar buttons, keystrokes or events. You could also use this method if you are using Automation to control Reflection. For example, you could use stand-alone Visual Basic .NET to create a form with an Abort button to abort a transfer in progress. | |
CancelTransfer | Attempts to cancel a file transfer in progress (for any of the supported transfer protocols: Kermit, WRQ/Reflection, Xmodem, or Zmodem) by shutting down the host program. Use AbortTransfer if you think the host program has stopped responding. This method is not likely to be useful in a macro because all transfer methods must complete execution before subsequent commands are executed. AbortTransfer can be useful for mapping to custom items such as toolbar buttons, keystrokes or events. You can also use this method if you are using Automation to control Reflection. For example, you could use stand-alone Visual Basic .NET to create a form with a Cancel Transfer button to cancel a transfer in progress. | |
FTPGetCurrentHostDirectory | Returns the current host directory used for FTP file transfers. This method is only valid when Reflection is connected to the host FTP server; use FTPStartServer to connect to the server before using this method. | |
FTPReceiveFile | Transfers one or more files from the host to the PC using FTP (file transfer protocol). Use FTPStartServer to connect to the host server before using this method. Use FTPStopServer to disconnect from the host server after file transfer is complete. | |
FTPSendFile | Transfers one or more files from the PC to the host using FTP file transfer protocol. Use FTPStartServer to connect to the host server before using this method. Use FTPStopServer to disconnect from the host server after file transfer is complete. | |
FTPSetCurrentHostDirectory | Sets the current host directory used for FTP file transfers. This method is only valid when Reflection is connected to the host FTP server; use FTPStartServer to connect to the server before using this method. | |
FTPStartServer | Connects to a host server in preparation for FTP file transfers. Use FTPSendFile and FTPReceiveFile to transfer files. Use FTPStopServer to disconnect from the host FTP server. If your settings file is not already configured for FTP protocol, use TransferDefaultProtocol to set the transfer protocol, and TransferPreset to set the host server type. Most menu commands and all toolbar buttons are disabled when Reflection is in server mode. | |
FTPStopServer | Disconnects from a host server connected by FTPStartServer. | |
KermitReceiveFile | Transfers one or more files from a remote computer running a Kermit program to the local computer, using the Kermit file transfer protocol. | |
KermitSendFile | Transfers a file from the local computer to the remote system using the Kermit file transfer protocol. There is no IfFileExists option for this method because that aspect of the transfer is controlled by the remote system. | |
KermitStartServer | Starts a remote Kermit program in server mode. The command used to start the server is defined by the KermitServerStartupCommand property. If that command fails to start the remote Kermit program, this method will still set the local flag indicating that the remote program is in server mode. | |
KermitStopServer | Instructs a remote Kermit program running in server mode to shut down. | |
StartTransferLogging | Initiates file transfer logging. When TransferLoggingEnabled is True (the default value), Reflection stores file transfer information to a log file specified by the TransferLogFileName property. Use StopTransferLogging method to stop logging. | |
StopTransferLogging | Stops file transfer logging. When TransferLoggingEnabled is True (the default value), Reflection stores file transfer information to a log file specified by the TransferLogFileName property. Use StartTransferLogging method to start logging. | |
TransmitFile | Transmits the specified file to the host. If the ReadTabAsSpaces property is True and the TransmitFilesOption.NoTranslation option is not specified, tab characters in the file are converted to spaces as they are transmitted to the host. If the ReadCtrlZAsEOF property is True and the TransmitFilesOption.NoTranslation option is not specified, a Ctrl+Z character in the file will terminate the method. | |
WRQReceiveFile | Transfers one or more files from the host to the PC using the WRQ/Reflection file transfer protocol. | |
WRQSendFile | Transfers one or more files from the PC to the host using the WRQ/Reflection file transfer protocol. | |
WRQStartServer | Starts the WRQ/Reflection protocol host server in preparation for multiple file transfers. Most menu commands and all toolbar buttons are disabled when Reflection is in server mode. | |
WRQStopServer | Stops the WRQ/Reflection protocol host server started by WRQStartServer. | |
XmodemReceiveFile | Transfers a file from the host to the PC, using the Xmodem file transfer protocol. | |
XmodemSendFile | Transfers a file from the PC to the host, using the Xmodem file transfer protocol. | |
ZmodemReceiveFile | Transfers one or more files from the host to the PC, using the Zmodem file transfer protocol. | |
ZmodemSendFile | Transfers one or more files from the host to the PC, using the Zmodem file transfer protocol. |