Page 1 of 1

Error 451 Another command is pending

Posted: Wed Jan 05, 2022 12:31 am
by slsmithtx
Can someone tell me what causes this error for a user uploading files?

[04] Mon, 03 Jan 2022 12:30:49 (0000261) 451 Another command is pending currently, please try again later.

Can something be done to prevent it? At the moment it seems like I have to restart Wing FTP to clear it.

Re: Error 451 Another command is pending

Posted: Wed Jan 05, 2022 1:28 am
by FTP
It means the previous FTP command is being processed. There is no need to restart the WingFTP service, just close the current FTP connection and open a new FTP session.

Re: Error 451 Another command is pending

Posted: Wed Jan 05, 2022 3:12 pm
by slsmithtx
Is there anything that lets the user know the problem is happening and they need to close the FTP session and start a new one?

Re: Error 451 Another command is pending

Posted: Wed Jan 05, 2022 4:01 pm
by slsmithtx
This is unacceptable, as this error/issue never occurred on our previous WingFTP server. Furthermore, we can not manage our connections manually as these error can occur at any time (day/night).

Could this issue be caused by the client uploading the files using batching? This post references the issue:

viewtopic.php?f=3&t=3237

Re: Error 451 Another command is pending

Posted: Thu Jan 06, 2022 12:13 am
by FTP
I just answered your question in normal case, because normally you won't meet such error frequently, so I told you just restart the FTP client.

Anyway, for your situation, please upgrade to the latest version 7.0.1 first, if this issue still exists, please paste the related server logs here.

Re: Error 451 Another command is pending

Posted: Thu Jan 06, 2022 2:53 pm
by slsmithtx
Please clarify what in the latest version was fixed that would resolve this issue. We are currently on version 7.0.1. It is not acceptable to require customers to upgrade and face additional bugs/issues without understanding what in the existing version would be responsible for the problem. Below are the logs. Please review them and explain what is the issue.


[03] Mon, 03 Jan 2022 12:25:37 (0000261) MDTM 20211228183144 Spaniolo_2559_4_web.mp4
[04] Mon, 03 Jan 2022 12:25:37 (0000261) 550 Cannot MDTM. No permission.
[03] Mon, 03 Jan 2022 12:25:37 (0000261) TYPE I
[04] Mon, 03 Jan 2022 12:25:37 (0000261) 200 Type set to I
[03] Mon, 03 Jan 2022 12:25:37 (0000261) PASV
[04] Mon, 03 Jan 2022 12:25:37 (0000261) 227 Entering Passive Mode (198,207,148,96,59,30)
[03] Mon, 03 Jan 2022 12:25:37 (0000261) STOR Spaniolo_2560_4_web.mp4
[04] Mon, 03 Jan 2022 12:25:37 (0000261) 150 Opening BINARY mode data connection for file transfer.
[03] Mon, 03 Jan 2022 12:30:49 (0000261) TYPE I
[04] Mon, 03 Jan 2022 12:30:49 (0000261) 451 Another command is pending currently, please try again later.
[03] Mon, 03 Jan 2022 12:30:49 (0000261) PASV
[04] Mon, 03 Jan 2022 12:30:49 (0000261) 451 Another command is pending currently, please try again later.
[03] Mon, 03 Jan 2022 12:30:49 (0000261) TYPE I
[04] Mon, 03 Jan 2022 12:30:49 (0000261) 451 Another command is pending currently, please try again later.
[03] Mon, 03 Jan 2022 12:30:49 (0000261) PASV
[04] Mon, 03 Jan 2022 12:30:49 (0000261) 451 Another command is pending currently, please try again later.
[03] Mon, 03 Jan 2022 12:30:49 (0000261) TYPE I
[04] Mon, 03 Jan 2022 12:30:49 (0000261) 451 Another command is pending currently, please try again later.
[03] Mon, 03 Jan 2022 12:30:49 (0000261) PASV
[04] Mon, 03 Jan 2022 12:30:49 (0000261) 451 Another command is pending currently, please try again later.
[03] Mon, 03 Jan 2022 12:30:49 (0000261) TYPE I
[04] Mon, 03 Jan 2022 12:30:49 (0000261) 451 Another command is pending currently, please try again later.
[03] Mon, 03 Jan 2022 12:30:49 (0000261) PASV
[04] Mon, 03 Jan 2022 12:30:49 (0000261) 451 Another command is pending currently, please try again later.

Re: Error 451 Another command is pending

Posted: Thu Jan 06, 2022 3:09 pm
by FTP
Which FTP client software are you using? It seems you tried to refresh file list when the file "Spaniolo_2560_4_web.mp4" was still being uploaded, of course the FTP server side will return an error "Another command is pending".

Most GUI FTP client will open at least two threads for FTP job, one thread is for the file listing, the other threads are for the file transfer, so you can still refresh the file list when uploading files.