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-CP(1C) FTP-CP(1C)

ftp-cp - copy files from from one place to another using passive mode ftp

ftp-cp host1 host2 script [:debug=true]

ftp-cp Loads the script file and then establishes ftp control connections to the servers at host1 and host2. The values of environment variables hostX_USER and hostX_PASS are used to log in to the ftp servers, or the interactive user is prompted for input as required.

The script file is loaded as lisp-format data, containing expressions that indicate file transfers, or that evaluate to a list of file transfer specifications, for example:

("filename1" -> "filename2")
("filename1" <- "filename2")
(mapcar (lambda (x)
          (list (string-append "/home/gjc/ftp/" x)
                '->
                (string-append "/usr/users/gjc/ftp/" x)))
        '(data.1 data.2 data.3))

Errors result in a non-zero exit status.

George Carrette, GJC@delphi.com

siod http://people.delphi.com/gjc/siod.html

/usr/local/bin/ftp-cp /usr/local/bin/siod /usr/local/lib/libsiod.so /usr/local/lib/siod/ss.so
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.