User Manual
User's Guide ______________________________________________________________________
298 _________________________________________________________________ M210933EN-C
Command ftp
FTP client functionality can be used from the QML logger command
shell to transfer files and to test the connection to an FTP server. The ftp
command syntax is
ftp <get | put | test> <user:pass> <source> [destination] [interface]
[options]
Parameters for the ftp command are described in Table 63 on page 298.
Examples of ftp command output are presented below:
/ > ftp test user:pass ftp.vaisala.com "" netif1
Opening interface...ok
Connecting ftp.vaisala.com...ok
/Log > ftp put user:pass L3070515.dat ftp.vaisala.com/MAWS
netif0 f
Opening interface...ok
Sent successfully 658 bytes
/Cfg > ftp get user:pass ftp.vaisala.com/win_out.adc
Opening interface...ok
Received successfully 4482 bytes
Table 63 Parameters for Command ftp
Parameter Use
get Gets file from server
put Puts file to server
test Tests connection to server
user:pass Username and password to FTP server,
separated by a colon (:)
source Name of the source, depending on command; for
example, file on local or remote system
destination Name of the destination, that is, depending on
command, file on local or remote system
interface Interface to use; the default value is netif0
options f = Force destination directory creation on remote
serve
a = Append to file
d = Write debug output