[2.0] "LIST\r\n" Not retrieving ftp directory?
I send TCP packets to login to an ftp server and everything works but "LIST\r\n" doesn't return anything not even an error.
What I am trying to do is have an rss type feed of these files.
ftp://64.151.85.204/zf/
here is the code I am trying.
Code:
tcp.Connect("64.151.85.204", 21);
tcp.Client.Send(Str2Buf("USER anonymous\r\n"));
tcp.Client.Send(Str2Buf("PASV\r\n"));
tcp.Client.Send(Str2Buf("CWD /zf/\r\n"));
tcp.Client.Send(Str2Buf("NLST */*\r\n"));
Here is what I received.
http://img150.imageshack.us/img150/3162/packetsxv9.png
(I know there is an ftp class but it is easier to work with tcp packets for me)
Re: [2.0] "LIST\r\n" Not retrieving ftp directory?
seems like a firewall problem, someone else had a similar problem here ---> link <---
Re: [2.0] "LIST\r\n" Not retrieving ftp directory?
Nothing wrong with my firewall.