How to download file from ftp


#1

Hi,

Please guide us to access net contents using http or ftp in JUCE application.
Thanks in advance.


Regards,
Satya


#2

http://curl.haxx.se/libcurl/


#3

…yes… Sorry, I totally misread the OP!


#4

If you’re interested I created some wrapper classes around cURL to easily perform these sorts of transfers. You can perform the transfer inline or on a background thread and it has a listener interface for progress updates etc. It’s all part of my module in my sig and there’s a simple example in the demo app. The relevant files are in the network sub-dir, you can have a quick skim here.


#5

That looks like a nice wrapper class there Dave! I’ll revisit that next time I’m in need of libcurl.


#6

Nice one Dave!