
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 [<mode>] <remote file> [<local file>]
This will transfer a file from the currently connected host, as initiated by the
ftp
connect
command, where
<mode>
sets the transfer mode to
ASCII
,
BINARY
or
TENEX
. This
can be omitted if the correct mode is already set.
<remote file>
is the name of the remote file to be transferred, which can
include the full directory path.
<local file>
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 [<mode>] <local file> [<remote file>]
This will transfer a file to the currently connected host, as initiated by the
ftp connect
command, where
<mode>
sets the transfer mode to
ASCII
,
BINARY
or
TENEX
. This
can be omitted if the correct mode is already set.
<local file>
is the name of the local file to be transferred.
<remote file>
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.
Содержание -05W
Страница 1: ...TeemTalk 05W 07W 11W User s Guide...
Страница 38: ...2 24 Getting Started Notes...
Страница 58: ...3 20 Keyboard Configuration Notes...
Страница 152: ...8 20 File Transfer Notes...
Страница 162: ...9 10 ICL FTF File Transfer Notes...
Страница 324: ...13 32 Dynamic Data Exchange Text1 i 12 LinkItem 0 i 80 Text1 i 12 LinkMode 1 Next i End If End Sub...
Страница 336: ...C 6 Key Reference Numbers Notes...
Страница 360: ...E 16 Host Command Summary Notes...
Страница 370: ...Index 10 Index X XMODEM 8 1 XMODEM 1K 8 1 Y YMODEM Batch 8 2 Z ZMODEM 8 2 Zoom Button 2 17...