Store remote image in meteor

How can I store remote image in meteor using Collection FS?


From this document

Notice that the only thing we’re doing is passing the browser-provided File object to Images.insert(). This will create a FS.File from the File, link it with the Images FS.Collection, and then immediately begin uploading the data to the server with reactive progress updates.

The insert method can directly accept a variety of different file representations as its first argument:

File object (client only)
Blob object (client only)
Buffer (server only)
A full URL that begins with “http:” or "https:"
A local filepath (server only)
A data URI string

Collection FS supported remote file

Thanks. I got it working using Images.insert(url) on server . Images collection was made using collection FS