Transfers a file from the host to the PC using FTP file transfer
ret = FTPReceiveFile (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 = FTPReceiveFile ("C:\Program Files\MyFolder\LocalFile.txt", "HostFile.txt")
End Sub