Error 451 Another command is pending

Please post here if you have problems in using Wing FTP Server.
Post Reply
slsmithtx
Posts: 7
Joined: Thu May 30, 2013 8:20 pm

Error 451 Another command is pending

Post 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.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Error 451 Another command is pending

Post 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.
slsmithtx
Posts: 7
Joined: Thu May 30, 2013 8:20 pm

Re: Error 451 Another command is pending

Post 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?
slsmithtx
Posts: 7
Joined: Thu May 30, 2013 8:20 pm

Re: Error 451 Another command is pending

Post 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
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Error 451 Another command is pending

Post 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.
slsmithtx
Posts: 7
Joined: Thu May 30, 2013 8:20 pm

Re: Error 451 Another command is pending

Post 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.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Error 451 Another command is pending

Post 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.
Post Reply