Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes Help:  Files on different server than web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Help:  Files on different server than web server" Watch "Help:  Files on different server than web server" New topic
Author

Help: Files on different server than web server

Julia Irving
Greenhorn

Joined: Jun 30, 2003
Posts: 17
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help: Files on different server than web server
 
Similar Threads
Context Path
JBoss & Tomcat 5.0
Setup JForum with Jboss
favicon.ico
Recreate XML file