Code:
#!/bin/sh
HOST='host.com'
USER='yourid'
PASSWD='yourpw'
FILE='file.txt'
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE
quit
END_SCRIPT
exit 0
The username is recognized by the pure-FTPd but password is not.
This script connects to FTP server and uploads some file. This is a working script for all FTP servers that I have tried except pure-FTPd. And pure-FTPd is running on my website hosting server. I don't believe they are willing to change there FTP server so I'm looking for help.
Thanks