Upload large file using HTTP request
Upload large file using HTTP request
- Subject: Upload large file using HTTP request
- From: James Bucanek <email@hidden>
- Date: Thu, 19 Jun 2008 15:17:38 -0700
Greetings,
I'm looking for some advice. I'd like to add a command to my
Cocoa program so that users can upload diagnostic and
performance reports to my server.
My idea was to create a single ZIP file with the data and send
it to a special Java Server Page on my Xserve via an HTTP
request. The JSP page would then unzip the file and digest the
results. I know that an HTML page can be set up to upload a file
as part of a form. I believe it's just a matter of creating a
multi-part form request with the correct encoding type.
I'm assuming that it would be possible to construct such a
request programmatically, but I'm a bit fuzzy on where to begin.
I've never actually used any of the Cocoa HTTP communication
classes -- beyond that, I'm a fairly seasoned Cocoa developer
with a modest understanding of network communications.
Thanks in advance ...
--
James Bucanek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden