Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FTP-PUT(1C)							     FTP-PUT(1C)

NAME
     ftp-put - copy files from local host to remote using passive mode ftp

SYNOPSIS
     ftp-put	LocalFilename	 RemoteHost    [RemoteFilename]    [:debug=true]
     [:buff=2048] [:rename=true]

DESCRIPTION
     ftp-put Opens a connection to the ftp server on the RemoteHost,  and  puts,
     using  ftp  passive  mode,  the  LocalFilename to a temporary filename con-
     structed from the RemoteFilename.	When the data transfer is complete a RE-
     NAME operation is issued. Therefore the RemoteFilename appears  atomically.
     This is very important when uploading files to an area from which other ftp
     and  http processes are actively serving. If :rename=false then the file is
     stored directly without renaming.

     Username and password may be picked up from environment variables	(Remote-
     Host_USER and RemoteHost_PASS) or the user is prompted.

     If LocalFilename is . (dot) then the data is read from standard input.

EXIT STATUS
     Errors result in a non-zero exit status.

AUTHOR
     gjc@world.std.com http://people.delphi.com/gjc/siod.html

SEE ALSO
     siod ftp-cp

FILES
     /usr/local/bin/ftp-put	/usr/local/bin/siod    /usr/local/lib/libsiod.so
     /usr/local/lib/siod/ss.so /usr/local/lib/siod/ftp.scm

BUGS
     The password is received using the built-in unix  getpass,  which	on  some
     systems  (Solaris) truncates the user input to 8 characters.  If the remote
     system can handle longer passwords then this is a problem.

				      LOCAL			     FTP-PUT(1C)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=ftp-put&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help