New answers tagged ftp
If the script is run only when you are logged in, you could set the password in an environment variable that is read when the script is run - set it once per session instead of hard-coding it or prompting for it. For example: # log in to your session [user@host] export pass=1234abc [user@host] my-ftp.sh Note the extra space in front of the export command ...
You need to install FTP. To install ftp , run the below command. # yum -y install ftp For more please click here.
The ftp program is for the insecure ftp protocol. Your vendor has specified that you use Implicit FTP over TLS which is a way to encrypt the connection and keep your credentials and data private over the Internet. Fortunately, there is a program called lftp which understands this protocol. lftp open -u [username] ftps://host.com:46800 Password: [enter ...
I've also experienced the same problem with FTP getting stuck, in my case at retrieving directory listing. After a lot of fiddling I was only able to make it work again by forwarding all ports to my computer's IP connected to the router while also disabling SPI Firewall. Being unsatisfied with this workaround I followed @conualfy 's advice and updated to a ...
How many level deep are you getting? If you need more than 5, you need to provide the -l option. man wget -r --recursive Turn on recursive retrieving. The default maximum depth is 5. -l depth --level=depth Specify recursion maximum depth level depth.
Top 50 recent answers are included