Ok, I can't get this to work. I've searched hi and lo and believe it or not, can't find any information on such a simple task. I cannot get ftp to automatically log me in via the script. ALWAYS prompts me for the password therefore making the "automated" process not so automated after all. It appears to accept the user name, but always prompts for the password. What am I doing wrong?? Here is what I have in my script,
Code:
#!/bin/bash
cp /media/usbdisk/dcim/100_fuji/* /home/tom/SnagPixTemp/ebay
rm /media/usbdisk/dcim/100_fuji/*
cd /home/tom/SnagPixTemp/ebay
ftp -i < /home/tom/bin/auto_ftp.txt
exit 0
And here is my "auto_ftp.txt" file,
Code:
prompt
open ftp.mysite.com
user username password
cd public_html/ebay
binary
mput *.jpg
bye