This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Automate FTP with macros

Posted by: Anonymous [ip: 220.233.232.62] on October 06, 2007 06:02 PM
I had to make an additional correction before downloading files:

[root@myhost ~]# echo get testfile.txt | ftp 192.168.1.2
Error - .netrc file not correct mode.
[root@myhost ~]# ls -l .netrc
-rw-r--r-- 1 root root 47 Oct 7 02:19 .netrc
[root@myhost ~]# chmod 600 .netrc

#

Return to Automate FTP with macros