Page 1 of 1

FTP Include

Posted: Thu Dec 01, 2005 3:56 pm
by Lars
The FTP_Include is plain PureBasic, if you don’t count the API in
ClientEvent4 Include, which should be easily ported to other Systems, if it
doesn’t become possible PB anyways in the future.

The Include uses OOP, every connection to an FTP server is an object. I
wouldn’t go so far as too call it real OOP, because inheritance etc. will
probably not work properly in all cases, but in general you use objects to
call the include’s functions, which makes it easy to keep all the data
necessary for a connection at the right place.

In the include’s source you should find enough comments, if not just ask
me :)

To work properly, the FTP_Include needs my ClientEvent4 Include,
because it needs to notice server disconnects.

FTP_Include.zip (16KB)

[EDIT 12/02/2005]
Sorry, I forgot the final link and then I couldn't reach the server
anymore, probably because of the damn chinese ISP. . .