closet geek
September 18th, 2006, 07:54 PM
Hi,
Why on earth does this code end up placing the file above the public_html direcory:
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
cd public_html
put $FILE
quit
END_SCRIPT
exit 0
it definitely changed to public_html (as confirmed by pwd). Yet it *always* puts the file above the public_html.
Help!
cg
Why on earth does this code end up placing the file above the public_html direcory:
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
cd public_html
put $FILE
quit
END_SCRIPT
exit 0
it definitely changed to public_html (as confirmed by pwd). Yet it *always* puts the file above the public_html.
Help!
cg