La sintassi del comando fput è la seguente:
fput [-dNpqsvV] [-u urlftp] [-C dir] [-I urlfile]
[-m max_connections] [-t timeout] [-T num_retries]
[-i cache_interval] [-M max_cache_size]
dove
V : show the package version
u : Indicate the url of the FTP site
(For example ftp://user:password@site.domain.net/path)
d : debug mode (the exchange with the FTP server is shown)
v : verbose mode
q : quiet mode
C : Change to this directory on the FTP server before the synchronization
t : timeout
T : tries count
m : max_sessions
M : max_cache_size
i : cache_expire_time
I : urlfile
N : OPT_NEWER
p : OPT_PASSIVE
s : OPT_DIFFSIZE
h : Get this help
Per esempio per inviare il file input.txt nella directory titu/titu si deve scrivere:
fput -u ftp://user_name:user_password@ftp.domain.net -C titi/tutu -q input.txt