FTP with shell script
This is what I have so far
ftp -dvin "http://website.com" <<EOF quote USER "email@example.com" quote PASS "password" put test.txt quit
I also tried this code without any success
ftp -n http://website.com << EOF > ~/log.txt 2>&1 user firstname.lastname@example.org password put test.txt bye
It isn't really working and this is the first time that I have attempted to upload something with FTP in a shell script.
What am I doing wrong?