Results 1 to 3 of 3
- 03-12-2009, 09:26 PM #1
Member
- Join Date
- Feb 2009
- Posts
- 40
- Rep Power
- 0
Uploading files to server via HTTP
I have a collection of files that I'd like to send to a server via HTTP. On the server's end, I plan on using a PHP script to accept the posted data, as it would a "multipart/form-data" encoded form and process it.
It was recommended that I use Apache's HttpClient to encode the file data in "multipart/form-data" format.
1. Can someone help understand how to work with Apache's HttpClient? - i.e. if you have code that makes use of HttpClient, please share it or alternatively, a bullet-point guide. I went to Apache's site and reviewed their documents and examples, but they were more confusing then helpful.
2. If someone knows of an alternative way to do the aforementioned, please share that as well.
- 03-13-2009, 10:51 AM #2
is it the right place for your Thread?
Mak
(Living @ Virtual World)
- 03-13-2009, 06:27 PM #3
Member
- Join Date
- Feb 2009
- Posts
- 40
- Rep Power
- 0
Similar Threads
-
Transfering files over HTTP
By DannyZB in forum NetworkingReplies: 16Last Post: 11-09-2008, 09:50 PM -
Run servlet in HTTP server
By jithan in forum New To JavaReplies: 25Last Post: 10-16-2008, 10:10 AM -
Does any file in an FTP server ends up in an HTTP server?
By islamfunny in forum CLDC and MIDPReplies: 4Last Post: 08-15-2008, 04:30 PM -
uploading files
By javaplus in forum Java AppletsReplies: 1Last Post: 01-13-2008, 10:14 PM -
Uploading files to FTP
By javaplus in forum New To JavaReplies: 0Last Post: 12-19-2007, 10:08 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks