FTP Include

Developed or developing a new product in PureBasic? Tell the world about it.
Lars
User
User
Posts: 31
Joined: Sat Sep 27, 2003 5:54 pm
Location: Bonn, Germany
Contact:

FTP Include

Post 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. . .
Lars
The only problem with troubleshooting is that sometimes the trouble shoots back.
P4 3Ghz, 512MB RAM, Radeon 9600Pro, WinXP Home SP2, PB V4.0