This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Ram Padyala
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ram Padyala
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!