Forum > Networking and Web Programming
Cross-platform Method to Download File
a_butta:
Hi,
I'm new on this forum, and i don't speack english very well, so i'm sorry for my language and i apologize to you if i mistook the location of the topic.
I would ask you if there's a cross-platform method to download a file through a Http URL using lazarus (not to depend on the OS i'm using).
Thank!
theo:
http://synapse.ararat.cz/doku.php
See: http://synapse.ararat.cz/doc/help/httpsend.html
Or
http://lnet.wordpress.com/
a_butta:
Thank very much!
I installed LNet, but i didn't understand how to use it in according to my aim.
Can you help me?
Thank you!
theo:
I always use synapse, where you can simply use:
function HttpGetText(const URL: string; const Response: TStrings): Boolean;
For lNet there are examples in the zip file in lnet/examples/visual/http
a_butta:
Good!
I've only a doubt: do Synapse work either on Win and Linux?
Thanks!
Navigation
[0] Message Index
[#] Next page