You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by ganesh gadi <ga...@yahoo.com> on 2004/08/02 17:00:39 UTC

Solution to copy files from one server to another..please

Hi list!

This is My requirement:

"we are going to use commons-httpclient2.0.1  to copy
files from one server to the other ex: telephone based
trascripting server to Tomcat server 
both sides it is demon running ,one transmit the other
listens and receves the files."

OS:win2000 server
Tomcat:5.0.19
httpclient2.0.1

Could anybody give the solution for the above problem
in detail?
it is standalone app with thread running.

i'm new to this commons-httpclient.
Your suggesions are always considered thankfully.

Advance thanks
Ganesh



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Re: HttpClient-How to start to copy files from one server to another..please

Posted by Michael Becke <be...@u.washington.edu>.
I would also suggest taking a look at the HttpClient documentation and 
tutorial for more help on getting started.

<http://jakarta.apache.org/commons/httpclient/tutorial.html>

Mike

On Aug 4, 2004, at 10:35 AM, Jacob Kjome wrote:

> You might look at commons-vfs to do this as well.  It uses HttpClient 
> under the
> covers (plus a few other dependencies).  It would probably keep you 
> working at a
>  higher level rather than having to deal with the lower level HTTP 
> stuff.  The
> ant tasks <v-copy>, <v-move>, etc... work quite nicely and make it all 
> look like
> a local copy because there is no different syntax for copying a file 
> locally or
> remotely.  It's all very transparent.  Check it out:
>
> http://jakarta.apache.org/commons/sandbox/vfs/
> http://cvs.apache.org/builds/jakarta-commons/nightly/commons-vfs/
>
> Note:  I am not a VFS developer promoting the project.  It's just been 
> very
> useful to me.  I hope it gets moved out of the sandbox for an official 
> release
> sometime soon!
>
> Jake
>
> Quoting ganesh gadi <ga...@yahoo.com>:
>
>> Hi list!
>>
>> "we are going to use commons-httpclient2.0.1  to
>> copy files from one server to the other ex: telephone
>> based trascripting server to Tomcat server
>> both sides it is demon running ,one transmit the
>> other listens and receves the files."
>>
>> OS:win2000 server
>> Tomcat:5.0.19
>> httpclient2.0.1
>>
>> Could anybody give the solution for the above
>> problem in detail?For this type of task ,which classes
>> are required to import?
>> i'm new to this commons-httpclient.In fact i don't
>> know where to start it's solution.
>>
>> Your suggesions are always considered thankfully.
>>
>> Advance thanks
>> Ganesh
>>
>>
>>
>>
>> __________________________________
>> Do you Yahoo!?
>> New and Improved Yahoo! Mail - Send 10MB messages!
>> http://promotions.yahoo.com/new_mail
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: HttpClient-How to start to copy files from one server to another..please

Posted by Jacob Kjome <ho...@visi.com>.
You might look at commons-vfs to do this as well.  It uses HttpClient under the
covers (plus a few other dependencies).  It would probably keep you working at a
 higher level rather than having to deal with the lower level HTTP stuff.  The
ant tasks <v-copy>, <v-move>, etc... work quite nicely and make it all look like
a local copy because there is no different syntax for copying a file locally or
remotely.  It's all very transparent.  Check it out:

http://jakarta.apache.org/commons/sandbox/vfs/
http://cvs.apache.org/builds/jakarta-commons/nightly/commons-vfs/

Note:  I am not a VFS developer promoting the project.  It's just been very
useful to me.  I hope it gets moved out of the sandbox for an official release
sometime soon!

Jake

Quoting ganesh gadi <ga...@yahoo.com>:

> Hi list!
> 
> "we are going to use commons-httpclient2.0.1  to
> copy files from one server to the other ex: telephone
> based trascripting server to Tomcat server
> both sides it is demon running ,one transmit the
> other listens and receves the files."
> 
> OS:win2000 server
> Tomcat:5.0.19
> httpclient2.0.1
> 
> Could anybody give the solution for the above
> problem in detail?For this type of task ,which classes
> are required to import?
> i'm new to this commons-httpclient.In fact i don't
> know where to start it's solution.
> 
> Your suggesions are always considered thankfully.
> 
> Advance thanks
> Ganesh
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


HttpClient-How to start to copy files from one server to another..please

Posted by ganesh gadi <ga...@yahoo.com>.
Hi list!

"we are going to use commons-httpclient2.0.1  to
copy files from one server to the other ex: telephone
based trascripting server to Tomcat server
both sides it is demon running ,one transmit the
other listens and receves the files."

OS:win2000 server
Tomcat:5.0.19
httpclient2.0.1

Could anybody give the solution for the above
problem in detail?For this type of task ,which classes
are required to import?
i'm new to this commons-httpclient.In fact i don't
know where to start it's solution.

Your suggesions are always considered thankfully.

Advance thanks
Ganesh



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


HttpClient-How to start to copy files from one server to another..please

Posted by ganesh gadi <ga...@yahoo.com>.
Hi list!

"we are going to use commons-httpclient2.0.1  to
copy files from one server to the other ex: telephone
based trascripting server to Tomcat server
both sides it is demon running ,one transmit the
other listens and receves the files."

OS:win2000 server
Tomcat:5.0.19
httpclient2.0.1

Could anybody give the solution for the above
problem in detail?For this type of task ,which classes
are required to import?
i'm new to this commons-httpclient.In fact i don't
know where to start it's solution.

Your suggesions are always considered thankfully.

Advance thanks
Ganesh



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Re: Solution to copy files from one server to another..please

Posted by Michael Becke <be...@u.washington.edu>.
Hi Ganesh,

Thank you for your interest in HttpClient.  Your question, though 
perhaps applicable, is a little too general to elicit much response.  I 
suggest defining the problem more carefully, and then posting specific 
questions about using HttpClient.

Mike

On Aug 2, 2004, at 11:00 AM, ganesh gadi wrote:

> Hi list!
>
> This is My requirement:
>
> "we are going to use commons-httpclient2.0.1  to copy
> files from one server to the other ex: telephone based
> trascripting server to Tomcat server
> both sides it is demon running ,one transmit the other
> listens and receves the files."
>
> OS:win2000 server
> Tomcat:5.0.19
> httpclient2.0.1
>
> Could anybody give the solution for the above problem
> in detail?
> it is standalone app with thread running.
>
> i'm new to this commons-httpclient.
> Your suggesions are always considered thankfully.
>
> Advance thanks
> Ganesh
>
>
>
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/new_mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> commons-httpclient-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org