| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Help me! How I can upload binary file to the HTTP server? Maybe there is so= mething really rabotayuschiy example, or the normal description of how to d= o this? Edited by: UGreek on 05-Feb-2008 01:29 |
|
#2
| |||
| |||
| Hi, We have a Symbian HTTP example in \Examples\AppProts\exampleclient, take a = look at httpexampleclient.cpp Regards Khalid Symbian Ltd |
|
#3
| |||
| |||
| Thanks for your reply, but in this example not shows how upload file. I am = interested in how to correctly form the HTTP POST with Content-Type: multip= art / form-data; |
|
#4
| |||
| |||
| UGreek wrote: > Thanks for your reply, but in this example not shows how upload file. I > am interested in how to correctly form the HTTP POST with Content-Type: > multipart / form-data; Take a look at CHTTPFormEncoder, also sending data without any form encoding would be better. Sebastian Wieczorek |
|
#5
| |||
| |||
| CHTTPFormEncoder not help me, it is only encode data, but I need to send a = file. Does not working example, which loads the file on server via HTTP? |
|
#6
| |||
| |||
| UGreek wrote: > CHTTPFormEncoder not help me, it is only encode data, but I need to send > a file. Does not working example, which loads the file on server via HTTP? What do you mean send a file?this is the question... Do you want to send is as form data like from www browser, to be handled easy on server side by server side scripts? Or do you want to send it without all browser/form/html garbage? 1) if you want to send it in form and use content type: multipart/form-data then chttpformencoder will not help, docs says it will url-encode its contents, so you have to find/write yourself such encoder 2) if you want to send/post file without form/html redundancy http example is a really good starting point |
|
#7
| |||
| |||
| Hi, Pls check the following link [http://wiki.forum.nokia.com/index.ph...art/form-data] thanks and regards, saikrishna |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.