How to download a file from internet

boron
Tags: #<Tag:0x00007f1ca3750ac8>

#1

I want to download a file from internet by using Boron, any example code or libraries that working on WebIDE for doing this task?


#2

What kind of file, and from where?

Some more details will help you get a good answer.


#3

thanks for the prompt reply, we would like to use Boron to download photos from anywhere of internet, maybe from a http/https webpage or from ftp, since our application would allow users to download photos found by search engine, thanks.


#4

You can use httpclient library this will allow you to download from http websites - I have used this and it works but only for http: There is also an httpsclient-particle library that supports https: I haven’t used this - you will need to search the community forum for advice.