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

Automate FTP with macros

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

[root@myhost ~]# echo get testfile.txt | ftp
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