Long time no command line FTP.
Today I had to transfer 700Mb from one server to another in the same data center: SSH in to server #1 to grab the files from server #2 – but “a” wasn’t working as an answer to mget as it usually does – meaning “get all” – when prompted for each file if you really want to download it.
I really didn’t fancy having to watch/wait/click as 1400 files got copied over.
Easy answer: type “prompt” in your ftp shell to toggle the prompting on and off.
Job done.
All files sent over in a jiffy without having to do a 4,000 km round trip – and freeing up my rather stuffed internet connection in the meantime.
ssh user@host.com
cd path/to/your/files
ftp ftp.host.com
cd path/to/your/files
prompt
mget *
bye
exit