1826427 Members
3593 Online
109692 Solutions
New Discussion

Re: FTP 500 error

 
jackizm
Occasional Contributor

FTP 500 error

Hi,eyeryone:
I run a script in program :FTP://192.168.1.23:5021/FTPDIR1/FTPDIR
Error information:ftp error500:"syntax error,
not identified command,It is possible that the
command line is too long."

Thank you!
4 REPLIES 4
Sivakumar TS
Honored Contributor

Re: FTP 500 error

Dear Jack,

Why do you secify the port no 5021 ?
:FTP://192.168.1.23:5021/FTPDIR1/FTPDIR

I think that is the cause of the error?

HtH,

Siva.
Nothing is Impossible !
Arunvijai_4
Honored Contributor

Re: FTP 500 error

Is it FTP:// ?? or ftp:// ? Also, which port does your FTP server run ?

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Devesh Pant_1
Esteemed Contributor

Re: FTP 500 error

jackizm,

ftp 500 error could be an invalid port number error and as sivakumar suggests try not to use the port number here.

I would suggest trying a manual run of the command by breaking it down instead of running the script.
eg. Assuming that the ftp port 5021 is a valid one

do

#ftp://192.168.1.23:5021

and the cd into the directories after logging in
ftp> cd /FTPDIR1/FTPDIR

this could be a syntax error that may have to be fixed by manual tries.

thanks
DP



jackizm
Occasional Contributor

Re: FTP 500 error

Thanks for the info,
I will update my software by using the FTP
server.I can use the script in IE browser.But it indicate FTP 500 error in my program.

thank you!