SendFTPFile()
Syntax
Result = SendFTPFile(#Ftp, Filename$, RemoteFilename$ [, Asynchronous])Description
Send a file to a #Ftp server. 'RemoteFilename$' has to be in the current ftp directory (see GetFTPDirectory() and SetFTPDirectory()). 'Filename$' is the local file to be sent. By default, the upload is synchronous and blocks the program until it is finished. The 'Asynchronous' mode (optional parameter = #True) allows to do the upload in the backgroud, and FTPProgress() can be used to get the current state of the upload. An asynchronous transfer can be aborted with AbortFTPFile(). Only one file can be uploaded or downloaded (see ReceiveFTPFile()) in the background at once.
If the file has not be correctly sent, 'Result' will be 0.
Supported OS
All