12-38
Creating A Script File
FTP DIRFIRST
Syntax:
FTP DIRFIRST LOCAL <filename> [<size> <mode> <modtime>
<uname> <gname>]
FTP DIRFIRST REMOTE <filename> [<size> <mode> <modtime>
<uname> <gname>]
This FTP file transfer command will get the first entry in the current local or remote
directory and place it in the previously defined string variables, where
<filename>
is a previously defined string variable (see
var
) which will store the
name of the file. This is the only variable that must be specified, the
others are optional.
<size>
is a previously defined string or integer variable which will store the
size of the file.
<mode>
is a previously defined string variable which will store the mode.
<modtime>
is a previously defined string variable which will store the time of the
last modification.
<uname>
is a previously defined string or integer variable which will store the
user name.
<gname>
is a previously defined string or integer variable which will store the
group name.
Note that if you require a value which follows one or more that are not required, you
will still need to supply variables for them. For example, if you only wanted the time
that the file was last modified, you would need to specify a variable for
<size>
and
<mode>
as well as
<modtime>
.
On a UNIX system the first entry is always "
.
". This can be followed by one or more
ftp dirnext
commands to work through the directory listing.
If the command is invalid then the variable will be set to "" (zero length).
Refer to the
Error Numbers
section for a list of possible error numbers.
Содержание -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...