Your best friend for file transfer.Fetch
View file path (4 posts)
- Started 11 years ago by dabaron
- Latest reply 11 years ago from Jim Matthews
I just uploaded Fetch 5 update. One thing I can't find is finding the path needed to type in as a url to preview in a browser.
In Fetch 4 I could select a specific file within a folder, get info, and it would preview the path, i.e. www.baron.com/imagefile/desk.jpg. I check through the menu's, did a search through the help section without success.
Any help would be appreciated.
Scott McGuire Administrator
Fetch 5 displays the URL for files exactly as Fetch 4 did; if you select a file and click Get Info, it will show you the FTP URL to that file. It is in the "General" section of the info window.
If you are not seeing the FTP URL in the info window, click on the triangle next to the "General" label and that should display the FTP URL.
You can also copy the FTP URL for a file by using the Copy URL command in Fetch. Select a file, go to the Edit menu, and choose Copy URL. That will copy the URL to the clipboard, and you can paste it elsewhere.
The address used for uploading files to your web server via FTP, and the address used to display the files in a web browser are usually similar but not the same, as you're probably aware.
But Fetch only knows about FTP, and it has no way to figure out what the correct address for accessing your files via the web is (there is no standard translation between the two). Address for browsers start with "http" instead of "ftp". Your Internet service provider or web hosting provider can tell you what the equivalent address to files on your website is.
Well, that partially answers my question, but why is the path / address not using the same conventions as the browser, i.e. I have uploaded a file such as desk.jpg.
In the info box you referenced, if I was looking for the url for desk.jpg, and highlighting that image, get info displays the following: ftp://email@example.com/baron.com%20folder/baron.com/%20image/
Typing in that as the URL I get a file not found dialogue.
By typing in http/www.baron.com/folder/baron.com/desk.jpg the browser takes me to the image in the file. A friend on the PC is able to view the correct address in the program he uses to upload files, why is fetch not able to do the same? Why is Fetch adding the percent character and the numerals, what does it stand for?
Jim Matthews Administrator
It's hard for me to answer your specific question because I get "file not found" with the URL that you say works for you. Is it possible there's a typo there?
As Scott mentioned, there is currently no way for Fetch to automatically translate between an FTP URL (which will start with "ftp://" and work in Fetch) and an HTTP URL (which will start with "http://" and work in your web browser). You mention that a friend's FTP client does that; I'd love to hear what program that is, so I can take a look at how it does it.
It's a hard problem because different hosting providers configure their servers differently, and translating between FTP and HTTP URLs depends on the specifics. For example, if you have a personal website at Earthlink with the username "myaccount", the FTP URL for a file named "image.jpg" would be
the HTTP URL would be:
The last part of the URLs is typically the same; the trick is figuring out what to substitute for the first part.
I could help figure that out for your situation if you could post the complete FTP URL of the desk.jpg file as provided by Fetch's Copy URL command, and the HTTP URL you see in your web browser when you view the image.
As for the percent marks and numeric codes, those indicate a special character. %20 indicates a space character, so the FTP URL you posted is for a folder named " image" (with a leading space), inside a folder named "baron.com", inside a folder named "baron.com folder".
I hope this helps,
- Page 1