You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Omar Adobati <om...@gmail.com> on 2005/01/11 00:46:36 UTC
[FILE UPLOAD] upload a file from a website to another one
Hy everybody,
I'm trying to use the FileUpload package to upload a file from a
website to anotherone. Actually I can't find the right way to do this.
Here is my use-case:
So, suppose I'm compiling the form in the http://www.siteSource.com
and that I need to upload the file into
http://www.siteDest.com/myDir/.
How can I do it? Can I do it using FileUpload.jar? Does anybody help me?
Tanks in advice,
Omar
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: [FILE UPLOAD] upload a file from a website to another one
Posted by Wendy Smoak <ja...@wendysmoak.com>.
From: "Omar Adobati" <om...@gmail.com>
> I'm trying to use the FileUpload package to upload a file from a
> website to anotherone. Actually I can't find the right way to do this.
> Here is my use-case:
> So, suppose I'm compiling the form in the http://www.siteSource.com
> and that I need to upload the file into
> http://www.siteDest.com/myDir/.
> How can I do it? Can I do it using FileUpload.jar? Does anybody help me?
Take a look at HTTPClient, it claims support for " Multi-Part form POST for
uploading large files. "
http://jakarta.apache.org/commons/httpclient/features.html
(I believe FileUpload is used when you are receiving the file, not sending
it.)
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org