• Post Reply Bookmark Topic Watch Topic
  • New Topic

HTTPClient File upload

 
Knob Khera
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone give me sample code for uploading file using HttpClient API...
I have tried examples from http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/src/examples/
but still not getin result.

If Possible please provide a demo/sample program...
It's urgen

Regards
Knob
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but still not getin result.

What does this mean? Client errors? Server errors? TellTheDetails.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have also been asked twice before to adjust your display name. Specifically, a first name and a last name are required. This is not optional - accounts without a proper name are generally closed. Adjust yours accordingly before your next post, which you can do right here. Thanks for your prompt attention to this matter.
 
Knob Khera
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
while running postXML.java (http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/src/examples/)
getting following error:

Response status code: 302
Response body:

2006/06/22 15:18:50 org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded 情報: Redirect requested but followRedirects is disabled
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!