Lieber Besucher, herzlich willkommen bei: sourceserver.info. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
|
|
Quellcode |
1 |
lftp -e "mirror -cRr -i $extension $dir_local $dir_remote" -u $ftp_user:$ftp_password $ftp_host |
Zitat
OPTIONS
-d Switch on debugging mode
-e commands
Execute given commands and don't exit.
-p port
Use the given port to connect
-u user[,pass]
Use the given username and password to connect
-f script_file
Execute commands in the file and exit
-c commands
Execute the given commands and exit. Commands can be
separated with a semicolon, `&&' or `||'.
|
|
Quellcode |
1 2 3 4 5 |
lftp <<EOFTP open ftp://$ftp_user:$ftp_password@$ftp_host mirror -cRr -i $extension $dir_local $dir_remote" exit EOFTP |
|
|
Quellcode |
1 |
lftp -e "mirror -cRr -i $extension $dir_local $dir_remote;quit" -u $ftp_user:$ftp_password $ftp_host |
Zitat
-c commands
Execute the given commands and exit. Commands can be
separated with a semicolon, `&&' or `||'.
