使用 HTTPClient 4 在目标路径中的服务器中上传文件
我想使用 HTTPClient jar 上传文件。 我可以在哪里提及目标服务器中的目标路径 文件应上传到的位置。
在 HTTPClient 3.1 中,可以在 MultiPartPost 构造函数中提及目标路径 方法,但在 HTTPCLient 4 中该类已被删除。
谢谢 施亚姆
I want to upload a file using HTTPClient jar.
Where i can mention the target path in the destination server
to which the file should be uploade.
In HTTPClient 3.1 the target path can be mentioned in MultiPartPost constructor
method but in HTTPCLient 4 this class is removed.
Thanks
SHyam
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
多部分 POST 示例是否 ClientMultipartFormPost.java 帮助吗?
Does the multipart POST sample ClientMultipartFormPost.java help ?