| 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 ]
|
 |
 |
|
|
subject: Uploading a file from localhost in windows to sever runnig in Linux
|
|
|