Could I send a file with a .txt format using http post to my hosting?
can anybody help me?
Could I send a file with a .txt format using http post to my hosting?
can anybody help me?
Hi
http allows you to POST a file with its content embedded within the multi-part form portion of the html request post.
My Arduino application has ethernet functionality and hosts itself. That said it receives file uploads from my browser for saving onto the system's SD card.
The functionality is quite complex - my application has it working without progress indication. It is fine for files up to a few hundred K. I have loaded 2MB files but it takes quite a long time.
I intend to release the source code in the next week or two. If you need to go the other way you need to work out the format of the data that my system will receive (should be all www standard) and then generate the multi-part form post html request yourself in the correct format so your remote host will receive it.
Cheers
Catweazle NZ
CatweazleNZ:
Hihttp allows you to POST a file with its content embedded within the multi-part form portion of the html request post.
My Arduino application has ethernet functionality and hosts itself. That said it receives file uploads from my browser for saving onto the system's SD card.
The functionality is quite complex - my application has it working without progress indication. It is fine for files up to a few hundred K. I have loaded 2MB files but it takes quite a long time.
I intend to release the source code in the next week or two. If you need to go the other way you need to work out the format of the data that my system will receive (should be all www standard) and then generate the multi-part form post html request yourself in the correct format so your remote host will receive it.
Cheers
Catweazle NZ
could you share your source code??
i wanna upload file from SD card arduino to server
Have a look here:
http://forum.arduino.cc/index.php?topic=291796.0
You will have to wait a week or two for the code.
Cheers
Catweazle NZ