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.
Here is what I received.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"));
(I know there is an ftp class but it is easier to work with tcp packets for me)





Reply With Quote