Programming with Reflection

image\rwnprg32.gif FTPSendFile method

 

Syntax object.FTPSendFile TransferFile, ShowStatus

 

Description

Transfers a file from the PC to the host using the FTP protocol. You can specify files for the transfer using the XfrFTPLocalFile and XfrFTPRemoteFile properties, or by specifying a transfer request file.

To use this method, first configure FTP transfer settings using the FTP tab of the Transfer Setup dialog box, save these settings to a settings file, then run this method from that settings file.

Arguments

TransferFile Argument type: String
The name of a transfer request file that provides information about the transfer. Use an empty string if you are not using a transfer request file.

ShowStatus Argument type: Boolean
Use rcYes to display the Transfer in Progress window while the transfer is in progress, or rcNo to not display the Transfer in Progress window.

 

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command