Bookmark Topic Watch Topic
  • New Topic

writing files in windows system from Linux  RSS feed

 
jeff rusty
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi i am trying to upload a file from Linux System(SUSE) and store it in a share folder which is in windows system.I read the uploaded file and write it in the shared folder by normal java.io file. this works when both the systems are windows..but when i upload from a linux machine and store it in a windows machine get file found error
File shareFile=new File("//windowsSystemName/shareFolder");
i guess it is searching from the root folder but not from the network. But the same code works fine for Windows to windows not for Linux to windows
why is this behaving differently?

thanks in advance
Prem
 
Joe Ess
Bartender
Posts: 9426
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question in multiple forums. It causes confusion and duplication of effort as the community tries to help everyone.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!