Не могу подключиться к ftp с помощью скрипта Linux ⇐ Linux
-
Anonymous
Не могу подключиться к ftp с помощью скрипта Linux
I'm trying to automate my process of data backup and I want to create script for it. I need to download file from ftp server into my linux machine so I'm using Gftp for connection.
When I'm doing it manualy (gftp "ftp-server-address" then it asks for username, the passwd....) it works and I can downlaod needed file using get command, but when I put it in script it doesnt work. I tried many types of syntax, but none of them works... for example:
gftp "ftp-server-address"
Источник: https://stackoverflow.com/questions/780 ... nux-script
I'm trying to automate my process of data backup and I want to create script for it. I need to download file from ftp server into my linux machine so I'm using Gftp for connection.
When I'm doing it manualy (gftp "ftp-server-address" then it asks for username, the passwd....) it works and I can downlaod needed file using get command, but when I put it in script it doesnt work. I tried many types of syntax, but none of them works... for example:
gftp "ftp-server-address"
Источник: https://stackoverflow.com/questions/780 ... nux-script
Мобильная версия