Re: FTP client
Chris Angelico <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CAPTjJmqduB0bsrEWc_BBzqrnteQwoxhV0_Gxx2mDyB5s1RRYZQ@mail.gmail.com> |
On Fri, Jan 16, 2015 at 2:28 AM, Pontus Östlund <[email protected]> wrote: > I have no problems connecting to the server, change working directory, > entering passive mode and such. The problem starts when I try to issue a > LIST command. Nothing happens and the read-loop hangs until the server > closes the connection. And I don't know why that is! That's where you need a secondary connection. When you enter passive mode, the server informs you of an IP and port to connect to, and then you need to establish that connection before you send LIST. The file listing will come up on that secondary conn. ChrisA