Opened 3 years ago
Closed 3 years ago
#12661 closed Bug report (invalid)
LIST * -> 450 Couldn't open the file or directory
Reported by: | Dirk | Owned by: | |
---|---|---|---|
Priority: | high | Component: | FileZilla Server |
Keywords: | LIST, 450 | Cc: | |
Component version: | 1.2.0 | Operating system type: | Windows |
Operating system version: | 10 |
Description (last modified by )
After the upgrade from FileZilla Server 0.9.60 to 1.2.0 my FTP client can not list an existing folder. With old FileZilla Server version it works.
This bug breaks our automation processes. Please fix it.
You find the error 450 in the logs:
2022-02-12T15:50:10.322Z II [FTP Session 12 10.115.89.8] Session 0x17dc9d9d4c0 with ID 12 created. 2022-02-12T15:50:10.373Z >> [FTP Session 12 10.115.89.8] AUTH TLS 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] securer(1) ENTERING state = 0 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] calling tls_layer_->set_certificate_file("C:\Program Files (x86)\FileZilla Server\certificate-2020.crt", "C:\Program Files (x86)\FileZilla Server\certificate-2020.crt", "****") 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] securer(1) EXITING state = 1 2022-02-12T15:50:10.373Z << [FTP Session 12 10.115.89.8] 234 Using authentication type TLS. 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] ~securer(1) ENTERING state = 1 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] calling tls_layer_->set_alpn("ftp") 2022-02-12T15:50:10.373Z VV [FTP Session 12 10.115.89.8] tls_layer_impl::server_handshake() 2022-02-12T15:50:10.373Z VV [FTP Session 12 10.115.89.8] tls_layer_impl::continue_handshake() 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] ~securer(1) EXITING state = 2 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] tls_layer_impl::on_send() 2022-02-12T15:50:10.373Z VV [FTP Session 12 10.115.89.8] tls_layer_impl::continue_handshake() 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] tls_layer_impl::on_read() 2022-02-12T15:50:10.373Z VV [FTP Session 12 10.115.89.8] tls_layer_impl::continue_handshake() 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] TLS handshakep: Received CLIENT HELLO 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] TLS handshakep: Processed CLIENT HELLO 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] TLS handshakep: About to send SERVER HELLO 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] TLS handshakep: Sent SERVER HELLO 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] TLS handshakep: About to send CERTIFICATE 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] TLS handshakep: Sent CERTIFICATE 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] TLS handshakep: About to send SERVER KEY EXCHANGE 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] TLS handshakep: Sent SERVER KEY EXCHANGE 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] TLS handshakep: About to send SERVER HELLO DONE 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] TLS handshakep: Sent SERVER HELLO DONE 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] tls_layer_impl::on_read() 2022-02-12T15:50:10.373Z VV [FTP Session 12 10.115.89.8] tls_layer_impl::continue_handshake() 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] TLS handshakep: Received CLIENT KEY EXCHANGE 2022-02-12T15:50:10.373Z DD [FTP Session 12 10.115.89.8] TLS handshakep: Processed CLIENT KEY EXCHANGE 2022-02-12T15:50:10.436Z DD [FTP Session 12 10.115.89.8] tls_layer_impl::on_read() 2022-02-12T15:50:10.436Z VV [FTP Session 12 10.115.89.8] tls_layer_impl::continue_handshake() 2022-02-12T15:50:10.436Z DD [FTP Session 12 10.115.89.8] TLS handshakep: Received FINISHED 2022-02-12T15:50:10.436Z DD [FTP Session 12 10.115.89.8] TLS handshakep: Processed FINISHED 2022-02-12T15:50:10.436Z DD [FTP Session 12 10.115.89.8] TLS handshakep: About to send FINISHED 2022-02-12T15:50:10.436Z DD [FTP Session 12 10.115.89.8] TLS handshakep: Sent FINISHED 2022-02-12T15:50:10.436Z II [FTP Session 12 10.115.89.8] TLS Handshake successful 2022-02-12T15:50:10.436Z II [FTP Session 12 10.115.89.8] Protocol: TLS1.2, Key exchange: ECDHE-SECP256R1-RSA-SHA512, Cipher: AES-256-CBC, MAC: SHA1 2022-02-12T15:50:10.436Z DD [FTP Session 12 10.115.89.8] tls_layer_impl::on_read() 2022-02-12T15:50:10.436Z >> [FTP Session 12 10.115.89.8] USER my_user 2022-02-12T15:50:10.436Z << [FTP Session 12 10.115.89.8] 331 Please, specify the password. 2022-02-12T15:50:10.436Z DD [FTP Session 12 10.115.89.8] tls_layer_impl::on_read() 2022-02-12T15:50:10.436Z >> [FTP Session 12 10.115.89.8] PASS **** 2022-02-12T15:50:10.623Z DD [File-based Authenticator] authenticate: is_from_system: 0, impersonation_token: { username: "", home: "" } 2022-02-12T15:50:10.623Z << [FTP Session 12 10.115.89.8 my_user] 230 Login successful. 2022-02-12T15:50:10.623Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.623Z >> [FTP Session 12 10.115.89.8 my_user] PBSZ 0 2022-02-12T15:50:10.623Z << [FTP Session 12 10.115.89.8 my_user] 200 PBSZ=0 2022-02-12T15:50:10.623Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.623Z >> [FTP Session 12 10.115.89.8 my_user] PROT P 2022-02-12T15:50:10.623Z << [FTP Session 12 10.115.89.8 my_user] 200 Protection level set to P 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.639Z >> [FTP Session 12 10.115.89.8 my_user] SYST 2022-02-12T15:50:10.639Z << [FTP Session 12 10.115.89.8 my_user] 215 UNIX emulated by FileZilla. 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.639Z >> [FTP Session 12 10.115.89.8 my_user] TYPE I 2022-02-12T15:50:10.639Z << [FTP Session 12 10.115.89.8 my_user] 200 Type set to I 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.639Z >> [FTP Session 12 10.115.89.8 my_user] FEAT 2022-02-12T15:50:10.639Z << [FTP Session 12 10.115.89.8 my_user] 211-Features: 2022-02-12T15:50:10.639Z << [FTP Session 12 10.115.89.8 my_user] 211 End 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.639Z >> [FTP Session 12 10.115.89.8 my_user] PWD 2022-02-12T15:50:10.639Z << [FTP Session 12 10.115.89.8 my_user] 257 "/" is current directory. 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.639Z >> [FTP Session 12 10.115.89.8 my_user] TYPE I 2022-02-12T15:50:10.639Z << [FTP Session 12 10.115.89.8 my_user] 200 Type set to I 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.639Z >> [FTP Session 12 10.115.89.8 my_user] CWD /transfer/out 2022-02-12T15:50:10.639Z DD [File-based Authenticator/impersonator client, user: <not impersonating>] info(C:\transfer\out): result: 0 2022-02-12T15:50:10.639Z << [FTP Session 12 10.115.89.8 my_user] 250 CWD command successful 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.639Z >> [FTP Session 12 10.115.89.8 my_user] PWD 2022-02-12T15:50:10.639Z << [FTP Session 12 10.115.89.8 my_user] 257 "/transfer/out" is current directory. 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.639Z >> [FTP Session 12 10.115.89.8 my_user] SYST 2022-02-12T15:50:10.639Z << [FTP Session 12 10.115.89.8 my_user] 215 UNIX emulated by FileZilla. 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.639Z >> [FTP Session 12 10.115.89.8 my_user] PASV 2022-02-12T15:50:10.639Z VV [FTP Session 12 10.115.89.8 my_user] Trying: data_listen_socket_->listen(1, 0) 2022-02-12T15:50:10.639Z << [FTP Session 12 10.115.89.8 my_user] 227 Entering Passive Mode (192,168,1,114,200,32) 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.639Z >> [FTP Session 12 10.115.89.8 my_user] LIST TEST*.txt 2022-02-12T15:50:10.639Z DD [File-based Authenticator/impersonator client, user: <not impersonating>] info(C:\transfer\out\TEST*.txt): result: 6 2022-02-12T15:50:10.639Z << [FTP Session 12 10.115.89.8 my_user] 450 Couldn't open the file or directory 2022-02-12T15:50:10.639Z VV [FTP Session 12 10.115.89.8 my_user] session::on_socket_event(): source = data listen, flag = 2, error = 0, state = -1 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] Client wants a secure data connection. 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] securer(1) ENTERING state = 0 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] calling tls_layer_->set_certificate_file("C:\Program Files (x86)\FileZilla Server\certificate-2020.crt", "C:\Program Files (x86)\FileZilla Server\certificate-2020.crt", "****") 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] securer(1) EXITING state = 1 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] Making the data connection secure. 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] ~securer(1) ENTERING state = 1 2022-02-12T15:50:10.639Z VV [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::server_handshake() 2022-02-12T15:50:10.639Z VV [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::continue_handshake() 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] ~securer(1) EXITING state = 2 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_send() 2022-02-12T15:50:10.639Z VV [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::continue_handshake() 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.639Z VV [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::continue_handshake() 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] TLS handshakep: Received CLIENT HELLO 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] TLS handshakep: Processed CLIENT HELLO 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] TLS handshakep: About to send SERVER HELLO 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] TLS handshakep: Sent SERVER HELLO 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] TLS handshakep: About to send FINISHED 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] TLS handshakep: Sent FINISHED 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.639Z VV [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::continue_handshake() 2022-02-12T15:50:10.639Z DD [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::on_read() 2022-02-12T15:50:10.639Z >> [FTP Session 12 10.115.89.8 my_user] QUIT 2022-02-12T15:50:10.639Z << [FTP Session 12 10.115.89.8 my_user] 200 Goodbye. 2022-02-12T15:50:10.639Z VV [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::shutdown() 2022-02-12T15:50:10.639Z VV [FTP Session 12 10.115.89.8 my_user] tls_layer_impl::continue_shutdown() 2022-02-12T15:50:10.639Z II [FTP Session 12 10.115.89.8] Session 0x17dc9d9d4c0 with ID 12 destroyed.
2022-02-12T15:47:23.467Z >> [FTP Session 11 10.115.89.8 my_user] LIST * 2022-02-12T15:47:23.467Z DD [File-based Authenticator/impersonator client, user: <not impersonating>] info(C:\transfer\out\*): result: 6 2022-02-12T15:47:23.467Z << [FTP Session 11 10.115.89.8 my_user] 450 Couldn't open the file or directory
Change History (3)
comment:1 by , 3 years ago
Summary: | LIST * 450 Couldn't open the file or directory → LIST * -> 450 Couldn't open the file or directory |
---|
comment:2 by , 3 years ago
Description: | modified (diff) |
---|
comment:3 by , 3 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Your script unfortunately depends on a feature which was never standardized, hence it's non-portable and the new server doesn't implement it.
It's entirely possible to do filtering on the client side, which your script could and should be fixed to do.