When I try to execute the following shell script:
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
I receive this error message:
./my_script_name: line 7: cannot create temp file for here document: No space left on device
Line 7 is where the here doc begins with this string: <<END_SCRIPT
I know that I have sufficient space on the server from which I am running the script. What else should I look at to get it to work? I have, of course, substituted the values for HOST, USER, PASSWD, and FILE to my actual values and if I interactively FTP from the shell, I have not problem FTP-ing and getting the file.