Transfers a file from the PC to the host using FTP file transfer
ret = FTPSendFile (LocalFile, HostFile)
ret | Integer,output |
0 = OK | |
Non zero = Error | |
LocalFile | String, input |
This string contains the path and name of the local file to transfer. | |
HostFile | String, input |
This string contains the name of the file to create on the host. |
This is a PASSPORT command.
Example
Sub
ZMain()
ret = FTPSendFile ("C:\Program Files\MyFolder\LocalFile.txt",
"HostFile.txt")
End Sub