ReceiveFile

Description

Receives a file from the host to the PC.

Syntax

ret = ReceiveFile (String)

Parameters
ret Integer,output
  0 = OK
  Non zero = Error
   
String String, input
  The string that contains the receive file names and options.

 

Remarks

This is a PASSPORT command.

If the PC file name contains spaces, it must be enclosed in double quotes. For example: ReceiveFile ("""C:\Documents and Settings\My Profile\Desktop\test.txt"" README.TXT ASCII CRLF")

Example

Sub ZMain()
ReceiveFile "c:\pc.txt 'host.txt' ascii crlf"
End Sub