Page 1 of 1

FTP_RENAME

Posted: Thu Oct 16, 2025 4:59 pm
by basim
Dear All,
I faced the following issue.
After run FTP_RENAME i got 501 Error Number during RNTO sequence.
Here the joblog , can someone help ?

Thanks
Basilio

0: > CWD /
0: 250 CWD command successful
0: > RNFR te20251010
0: 350 File or directory exists, ready for destination name
0: > RNTO te20251010a
0: 501 Bad sequence of commands
0: > QUIT
0: 221 Goodbye

Re: FTP_RENAME

Posted: Thu Oct 16, 2025 6:42 pm
by Scott Klement
Don't put too much stock in the "Bad sequence of commands" message. For some reason, this server doesn't like the RNTO you sent. It could be a problem with the name of the file, for example. Check on the server to see what is going wrong.