How to upload files from PC to the Arduino's SD card?

I have a folder within my project's folder, and within that folder, there is an HTML file. How can I upload that file to the Arduino's SD storage?

If you have a better solution, I have a project that needs to output graphs of data. The best solution for us was to make the Arduino a webserver, and have that HTML on it.

The solution I am thinking about is I manually write each line of that HTML into C String since that is what's working out now.

How about putting the SD card into a USB SD card reader on the PC?

You're right, why not? Thank you. :grinning:

UPDATE: New problem!

We still need to edit the HTML, and we don't have an SD card reader dongle for our mac. Uploading the file to git then getting to our old ThinkPad and back to our Mac for one line changes is never fun.

Is there a better way?

zedespook: UPDATE: New problem!

We still need to edit the HTML, and we don't have an SD card reader dongle for our mac.

Amazon should be able to help you with that.

USB SD card readers/writers are inexpensive. Many SD cards even come with one included in the package.