• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help: Files on different server than web server  RSS feed

 
Julia Irving
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to link to files on a shared drive that is on a different server than my web server. I wrote a program that first opens the directory and returns the filenames in a list using listfiles(). I also want to link to the files, so I thought I would use filename.getCanonicalPath() for the path. How can I specify which server and directory to use when getting the filename paths?
Thanks in advance!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!