Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl ftp://ftp.com/mp3/* --user login:password -o /myfolder/*
- curl ftp://ftp.com/mp3/mymusic.zip --user login:password -o mymusic.zip
- scp -r login@myserverip:/remote/directory/path/ mylocaldirectory
- mkdir ~/Desktop/image-dump-myserver
- ftp ftp://myuser@myserver.com
- # enter password
- # You're now in the ftp console (where the world is still okay)
- # Set the local folder
- lcd ~/Desktop/image-dump-myserver
- # cd into the desired folder (`ls`, `pwd` etc. all work here)
- cd /httpdocs/images
- # Toggle the interactive mode
- prompt
- # Download the desired files (all the images in my case)
- mget *.jpg
- local: image1433509292_1582.jpg remote: image1433509292_1582.jpg
- 229 Entering Extended Passive Mode (|||50001|)
- 150 Opening BINARY mode data connection for image1433509292_1582.jpg (63626 bytes)
- 100% |***********************************| 63626 1.51 MiB/s 00:00 ETA
- 226 Transfer complete
- 63626 bytes received in 00:00 (0.98 MiB/s)
- local: image1427279963_0841.jpg remote: image1427279963_0841.jpg
- 229 Entering Extended Passive Mode (|||50053|)
- 150 Opening BINARY mode data connection for image1427279963_0841.jpg (67194 bytes)
- 100% |***********************************| 67194 1.64 MiB/s 00:00 ETA
- 226 Transfer complete
- 67194 bytes received in 00:00 (1.04 MiB/s)
- local: image1439798493_1783.jpg remote: image1439798493_1783.jpg
- 229 Entering Extended Passive Mode (|||50357|)
- 150 Opening BINARY mode data connection for image1439798493_1783.jpg (48876 bytes)
- 100% |***********************************| 48876 1.80 MiB/s 00:00 ETA
- 226 Transfer complete
- 48876 bytes received in 00:00 (996.81 KiB/s)
- ....
- ftp
- ftp>
- ftp> open xx.xxx.xxx.xx
- Name:(your ftp server): your_username
- Password: your_password
- ftp> get filename
Add Comment
Please, Sign In to add comment