Owner manual

Chapter 7 ___________________________________________________________ Troubleshooting
VAISALA ______________________________________________________________________ 227
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> <source> [destination] [-if interface] [-user
username] [-pass password] [-rst restart at] [-opt options]
Parameters for the ftp command are described in Table 64 below.
Table 64 Parameters for Command ftp
Parameter Use
get Gets file from server
put Puts file to server
test Tests connection to server
source Name of the source depending on
command, for example, a file on local
or remote system.
destination Name of the destination, that is,
depending on command, a file on
local or remote system.
interface Interface to use; the default value is
netif0.
user Username to use
pass Password to use
options f = Force destination directory creation
on remote server, a = Append to file,
d = Write debug output
Examples of ftp command output are presented below:
/Ext > ftp test ftp.vaisala.com -user me -pass mypass
Opening interface...ok
Connecting ftp.vaisala.com...ok
/Ext > ftp put metawsaa.adc ftp.vaisala.com -user me -pass mypass
Opening interface...ok
Sent succesfully 116382 bytes