Quote Originally Posted by judge View Post
Couldn't get file:// to work.
What did you actually put into which file?
The code looks as though it should work. If the URL starts with "file:" it skips the first 5 characters and copies the file (or symlinks it, if you have that option set).