Ftp get, Ftp put – Xerox -05W User Manual
Page 244

12-40
Creating A Script File
Refer to the Error Numbers section later in this chapter for a list of possible error
numbers for this command.
FTP GET
Syntax: FTP GET [
This will transfer a file from the currently connected host, as initiated by the ftp
connect command, where
sets the transfer mode to ASCII, BINARY or TENEX. This
can be omitted if the correct mode is already set.
is the name of the remote file to be transferred, which can
include the full directory path.
can be used to specify a local filename and directory path for
the transferred file. This should be specified if you are
transferring a file from a VAX system.
The following example will set the transfer mode to binary and transfer the file
yourfile.tmp:
ftp get binary "yourfile.tmp"
Refer to the Error Numbers section later in this chapter for a list of possible error
numbers for this command.
FTP PUT
Syntax: FTP PUT [
This will transfer a file to the currently connected host, as initiated by the ftp connect
command, where
sets the transfer mode to ASCII, BINARY or TENEX. This
can be omitted if the correct mode is already set.
is the name of the local file to be transferred.
can be used to specify a remote filename for the transferred
file.
The following example will set the transfer mode to ASCII and send the file
myfile.tmp:
ftp put ascii "myfile.tmp"
Refer to the Error Numbers section later in this chapter for a list of possible error
numbers for this command.