Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to access the file at some other file server

 
subodh gupta
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I am facing the problem of accessing the file server on the same network as i am but having the username & password.

What i need do is i need to run a batch job which will be doing the cleaning up job.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of directory system is this - if it's SMB (in other words, Windows) you may need to use the jCIFS library. But its API is just about the same as java.io.File and the other java.io classes, so the learning curve is small.
 
subodh gupta
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks i think i'll be able to do it now yes the server is windows.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!