FTPReceiveFile

Description

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

Syntax

ret = FTPReceiveFile (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 = FTPReceiveFile ("C:\Program Files\MyFolder\LocalFile.txt", "HostFile.txt")
End Sub