Kirjoittaja Aihe: Miten korjaan.500 Unable to service PORT commands  (Luettu 2201 kertaa)

Jm71

  • Käyttäjä
  • Viestejä: 14
    • Profiili
#$1 is the file name
#usage:this_script <filename>

HOST='server.fi'
USER="user"
PASSWD="password"
FILE="/home/morjens/Kuvat/koe/1.jpg"
REMOTEPATH='web/'
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
cd $REMOTEPATH
put $FILE

END_SCRIPT
exit 0


Connected to serverfi.
220 ::ffff:185.176.40.169 FTP server ready
331 Password required for Jm
230 User Jm logged in
Remote system type is UNIX.
Using binary mode to transfer files.
250 CWD command successful
local: 1.jpg remote: 1.jpg
500 Unable to service PORT commands
ftp: bind: Address already in use
500 Unable to service PORT commands
?Invalid command
221 Goodbye.