FTPSendFile

Description

Transfers a file from the PC to the host using FTP file transfer

Syntax

ret = FTPSendFile (LocalFile, HostFile)

Parameters
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.

 

Remarks

This is a PASSPORT command.

Example

Sub ZMain()
ret = FTPSendFile ("C:\Program Files\MyFolder\LocalFile.txt", "HostFile.txt")
End Sub