It is currently Wed Jan 27, 2021 4:34 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: POST request to upload a string and two files
PostPosted: Tue Oct 27, 2020 7:07 am 
Offline
Addict
Addict

Joined: Wed Feb 28, 2007 9:13 am
Posts: 1086
Location: London
I'm writing a program that uploads a string and two files. The files will be big, because they're videos - it could be multiple gigabytes of data. Ideally I want to handle the actual upload in a thread, and to keep the user informed about progress (ie. what percentage of the data has been uploaded so far). The files and string can be sent separately, or as one string (using Base64 encoding). The solution needs to work on Windows, Mac and Linux.

FTP is not an option, which is unfortunate because SendFTPFile() seems to be the only upload command that supports native progress reporting.

What would people recommend? Any advice here would be appreciated.

Thank you.

_________________
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 49 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye