|
-
Dec 17th, 2007, 12:55 AM
#1
Thread Starter
Frenzied Member
[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.

(I know there is an ftp class but it is easier to work with tcp packets for me)
-
Dec 17th, 2007, 05:06 PM
#2
Re: [2.0] "LIST\r\n" Not retrieving ftp directory?
seems like a firewall problem, someone else had a similar problem here ---> link <---
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Dec 17th, 2007, 08:02 PM
#3
Thread Starter
Frenzied Member
Re: [2.0] "LIST\r\n" Not retrieving ftp directory?
Nothing wrong with my firewall.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|