rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: selkov on December 06, 2007, 07:56:48 PM
-
When I copy a shortcut to a file like:
http://wavlbr.gotdns.com/S:/%20%20%20%20%20%20%20%20%20%20%20%20%20R%20E%20G%20I%20S%20T%20R%20Y%20%20%20T%20O%20O%20L%20S/Cter%20py/
And try to post it on my forum as a link it does not work. The length of the shortcut is too long.
Is there anyway to shorten it so it reads more like:
http://wavlbr.gotdns.com/S:/Cter20py/
Which is actually the file location and name?
-
%20 is the space character. I think you have several spaces in your file/folders, including a lump of leading spaces. Is your OS Windows? I didn't think it let you have leading spaces. Maybe HFS does in the VFS...
-
yes there are leading spaces.
I have no control over that.
That is the way they are.
Is there no way to eliminate that from the link?
Or at least shorten it after all it seems there asiging 5 charectors for 1 space. that does not make good sense to me.
-
Without URL rewriting support, I think you're stuck with setting up individual virtual/real folders to point directly to those oddly named ones.
For simplicity though, you can use http://tinyurl.com/ to generate shortened links to post on forums.
-
There is only one way to shorten the url because you have so many spaces and that is
Menu > URL Encoding > (Disable)Encode Spaces
But I do not recommend this method for shrinking the url's because it introduces incompatibilities and makes it harder to follow the links because some programs think the link ends at the first space.
-
indeed, if you just copy&paste an url with normal spaces on a forum, the forum will think the URL stops at the first space.
blank spaces are not allowed in URLs.
even we you type a space in your browser, it silently encode it to %20.
use tinyurl as adviced above.