wood burning stoves 2.0*
The moose likes Struts and the fly likes Uploading a file from localhost in windows to sever runnig in Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Uploading a file from localhost in windows to sever runnig in Linux" Watch "Uploading a file from localhost in windows to sever runnig in Linux" New topic
Author

Uploading a file from localhost in windows to sever runnig in Linux

Ram Padyala
Greenhorn

Joined: Sep 28, 2006
Posts: 9
hi,

I have a file which is located in localsystem, have to upload into the server which is runnig in Linux system...

pls send me a sample code its very urgent because i have a deadline.

Thanks
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
This link has an example of a Struts file upload. You can also check out the struts-examples.war file that comes with the Struts download. It also has an example of a file upload.

P.S. Putting "very urgent" in a post is not going to get you a response any faster. This link explains why.


Merrill
Consultant, Sima Solutions
Ram Padyala
Greenhorn

Joined: Sep 28, 2006
Posts: 9
Hi,
Thanks for sending this link, it is for uploading a ile into the server which is running in windows, But i want to upload into the Tomcat server which is running in Linux sysetm...

Thanks
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The operating system the server is running on is completely irrelevant. The upload process is the same. You just have to be mindful of things like different path separators ("/" for unix instead of "\").
[ October 04, 2006: Message edited by: Merrill Higginson ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Uploading a file from localhost in windows to sever runnig in Linux
 
Similar Threads
When can I use a local bean interface?
How can I access the LDAP with Java?
JSP Script Error
What is the correct setup of Tomcat
Error compiling JSP