Download a csv-file
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: Download a csv-file
by hobbex ·
an update:
After some testing, i almost got this working:
HTTP/1.1 200 OK
Content-Description: File Transfer"
Content-Type: application/force-download
Content-Type: application/CSV
content-disposition attachment;filename=“myfile.csv”
Pragma: public
Pragma: no-cache
Content-Length: 20
\r\n
1;2;3;4;5;6;7:8;9;0;\r\n"
The browser starts to download a file, however, the filename is not “myfile.csv”.
Any ideas why the "content-disposition attachment;filename=“myfile.csv” is not working?
RE: Download a csv-file
by ssekim ·
Hello Hobbex
At first, I’m not good at HTTP-protocol but WizFi210/WiFi.
So, I think that you had better ask in HTTP-protocol-community.
BTW, in general, about the below issue, you need to do as below.
Thanks
RE: Download a csv-file
by hobbex ·
Thanc ssekim…
i found the problem:
content-disposition attachment;filename=“myfile.csv”
a “:” is missing after disposition.
it should be:
content-disposition: attachment;filename=“myfile.csv”