Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

Web App to save file into another server

Thread view: 
James Yong - 02 Feb 2006 06:44 GMT
Hi,

I wanted a java web application in server A to save files into a directory
in server B. If it is possible, what are the options I can have?

Regards,
james
Arnaud B. - 02 Feb 2006 07:23 GMT
Hi,

Well you will probably need to register server B as a network drive
(Windows) or mount it (Linux) on server A, then you may want to use stuff
like this :

http://jakarta.apache.org/commons/fileupload/

to send files to server A, which will simply save them on server B.

Regards,

Arnaud

> Hi,
>
[quoted text clipped - 3 lines]
> Regards,
> james
Arnaud B. - 02 Feb 2006 07:50 GMT
To be more precise, the fileupload project (server-side) may be used with
(for instance), the client-side counterpart of the upload  process :

http://jakarta.apache.org/commons/httpclient/

(look at MultipartPostMethod examples, to see how to "post" files)

Regards,

Arnaud

> Hi,
>
[quoted text clipped - 17 lines]
> > Regards,
> > james
James Yong - 03 Feb 2006 04:15 GMT
Hi Arnaud,

Thanks for the suggestion.

Best Regards,
james

> To be more precise, the fileupload project (server-side) may be used with
> (for instance), the client-side counterpart of the upload  process :
[quoted text clipped - 29 lines]
>> > Regards,
>> > james


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.