es gibt eine interessante Library, welche eine Art eierlegende Wollmichsau
für den Dateitransfer darstellt: libCurl
Es gibt bereits eine Menge Programmiersprachen, die libCurl einbinden.libcurl is a free and easy-to-use client-side URL transfer library, supporting
FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, FILE and LDAP.
libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading,
HTTP form based upload, proxies, cookies, user+password authentication
(Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer resume, http
proxy tunneling and more!
libcurl is highly portable, it builds and works identically on numerous
platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX,
IRIX, AIX, Tru64, Linux, UnixWare, HURD, Windows, Amiga, OS/2, BeOs,
Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS and
more...
libcurl is free, thread-safe, IPv6 compatible, feature rich, well supported,
fast, thoroughly documented and is already used by many known, big and
successful companies and numerous applications.
Leider (und wie so oft) ist PureBasic mal wieder nicht dabei.
Diese Lib kann meines Erachtens auch von PureBasic aus relativ leichtAda95, Basic, C, C++, Ch, Cocoa, D, Dylan, Euphoria, Ferite, Gambas,
glib/GTK+, Java, Lisp, Lua, Mono, .NET, Object-Pascal, OCaml, Pascal,
Perl, PHP, Postgres, Python, R, Rexx, Ruby, Scheme, S-Lang, Smalltalk,
SPL, Tcl, Visual Basic, Q, wxWidgets, XBLite
nutzbar gemacht werden. Leider fehlt mir momentan die Zeit die
libCurl-Features in PB zu wrappen. Wäre IMO nämlich mal wieder ein
interessantes Projekt für die PBOSL.
Weitere Infos und Download: http://curl.haxx.se/libcurl/
Grüße ... Kiffi