failed to retrive directory listings

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
srihari
500 Command not understood
Posts: 2
Joined: 2020-09-12 05:04
First name: srihari
Last name: reddy

failed to retrive directory listings

#1 Post by srihari » 2020-09-15 03:28

Hi all,
i am trying to implement FTP server using Filezilla as client.when ever i a command called "LIST" from filezilla i am responding like

-rwxrwxr-x 1 elmpc-162 elmpc-162 13528 Sep 10 08:49 p2
-rwxrwxr-x 1 elmpc-162 elmpc-162 13528 Sep 10 08:53 p3
-rwxrwxr-x 1 elmpc-162 elmpc-162 13088 Sep 10 09:13 se
-rwxrwxr-x 1 elmpc-162 elmpc-162 17536 Sep 15 08:46 server
-rw-rw-r-- 1 elmpc-162 elmpc-162 1484 Sep 14 13:43 tcp_client.c
-rw-rw-r-- 1 elmpc-162 elmpc-162 10662 Sep 15 08:31 tcp_sever.c
-rw-r--r-- 1 elmpc-162 elmpc-162 2987 Sep 12 08:06 test1.c

but in filezilla it is showing that "failed to retrieve directory listings",

can any one help me regarding this
Screenshot from 2020-09-15 08-47-09.png
Screenshot from 2020-09-15 08-47-09.png (189.51 KiB) Viewed 2711 times

User avatar
botg
Site Admin
Posts: 35555
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: failed to retrive directory listings

#2 Post by botg » 2020-09-15 08:54

Your command reply is malformed. Please study RFC 959 in detail. Also, instead of LIST, you should implement support for MLSD as defined in RFC 3659.

Post Reply