Linux lftp connection ftp server upload download command

  

linux lftp connection ftp server upload & download
Java code Usage: lftp ftp://username: password@IP > download directory mirror DIRNAME [download the whole The directory contains subdirectories, this command is recommended] Upload directory mirror -R DIRNAM Download directory ... Usage: lftp ftp://username:password@IP > download directory mirror DIRNAME [Download the entire directory contains subdirectories, recommended This command] upload directory mirror -R DIRNAM download directory Method 1 > mget -d DIRNAME /* Method 2 > mirror DIRNAME upload directory Method 1 > mput -d DIRNAME /* Method 2 >mirror -R DIRNAME Download ordinary files > get FILENAME to pass multiple ordinary files > mget * lftp search file method ls -R |  Grep .iso find -d 3 |  Grep .iso In use, take a look at the help help bookmark tag cat/more/less display file content (with cat and more) zcat/zmore/zless display file content (using zcat and zmore, the difference is that zcat and zmore can only be directly Operation .gz file) bzcat/bzmore/bzless Display file contents (use bzcat and bzmore, the difference is that bzcat and bzmore can only directly operate .bz2 files) get/mget/pget fetch files put/mput/upload files mirror (-R ) Download upload directory

Copyright © Windows knowledge All Rights Reserved