Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » HttpRequest File Upload
Re: HttpRequest File Upload [message #43123 is a reply to message #43117] Sun, 11 May 2014 22:17 Go to previous message
forlano is currently offline  forlano
Messages: 1207
Registered: March 2006
Location: Italy
Senior Contributor
...little update.

I tried another experiment substituting req.Part(...) with

req.Post("file", LoadFile(fn));

to upload the zipped file. After a slight modification of the PHP script on the server, the file is uploaded and saved where I want. Unfortunately the server is not able to unzip it. It seems that during the transfer the file lost some encoding and the server is not able to understand how to unzip it Rolling Eyes . In fact when I put it back on my computer the unzip no longer work.

If nobody has experience with file upload via U++ I'll try http://curl.haxx.se/libcurl .

Thanks,
Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to use Skylark on external server
Next Topic: [SOLVED] Fix some memory leak in IpAddrInfo
Goto Forum:
  


Current Time: Mon Jun 23 08:14:38 CEST 2025

Total time taken to generate the page: 0.05238 seconds