Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help: Files on different server than web server

 
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic