Sends a file from the PC to the host using IND$FILE
ret = SendFile (String)
ret |
Integer,output |
|
0 = OK |
|
Non zero = Error |
|
|
String |
String, input |
|
This string contains the send file names and options. |
This is a PASSPORT command.
If the PC file name contains spaces, it must be enclosed in double quotes. For example: SendFile ("""C:\Documents and Settings\My Profile\Desktop\test.txt"" README.TXT ASCII CRLF")
Example
Sub ZMain()
SendFile "c:\pc.txt 'host.txt' ascii crlf"
End Sub