Re: FTP client
"Bertrand LUPART - Linkeo.com" <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, A Pike FTP client is something that sounds useful. Please share on modules.gotpike.org or make your code available on github or something. Thank you :) > On 15 janv. 2015, at 18:04, Chris Angelico <[email protected]> wrote: > > On Fri, Jan 16, 2015 at 4:03 AM, Pontus Östlund <[email protected]> wrote: >> I almost got it ;) >> I haven't done very much I/O stuff in my days so give me a pointer here >> please. >> >> Should I replace the current fd with a new one connected to the new port? Or >> do I need a separate fd? > > Separate one. You start with the control connection, then you > establish one or more data connections. You probably don't need more > than one data connection at a time, though I believe it is legal and > sometimes useful. -- Bertrand LUPART 29, rue du Colisée - 75008 Paris +33 1 72 71 71 84