3

I need to send a single binary file to a couple of IoTs. It wants a URL where it can download this file.

www.somekindadomain.aaa/binaryfile

I tried, GDrive, OneDrive, Droplr and a couple of others and they all take you to a landing page where you can click a link to download the file.

My IoTs do not have any way to click a link to get the file.

I tried getting it to work via GitHub and I was not able to get a unique URL for the raw file (this may be my fault).

Does anyone know of a super easy way to have a URL (no credentials required (again due to IoT) simply point direct to a file and when the url is hit, it just shoves the file out.

I must be missing something.

I have no bought a $1 domain so I can host it and do it myself from a webserver I control (I hope).

What am I missing?

Destroy666
  • 12,350

1 Answers1

1

Drop it in the public-facing folder on your hosting (the main web folder). http://domain/binary-file.bin. Done.

If you want simple password protection, ensure your hosting has ftp enabled and: ftp://username:password@domain/binary-file.bin

Note the password and user are stored in plain text in the above, which is easy to decrypt.

Yorik
  • 4,988