GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
FTP-PUT(1C) FTP-PUT(1C)

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

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

ftp-put Opens a connection to the ftp server on the RemoteHost, and puts, using ftp passive mode, the LocalFilename to a temporary filename constructed from the RemoteFilename. When the data transfer is complete a RENAME 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 (RemoteHost_USER and RemoteHost_PASS) or the user is prompted.

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

Errors result in a non-zero exit status.

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

siod ftp-cp

/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

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

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.