?

Log in

No account? Create an account

Previous Entry | Next Entry

Why do some files have three red dots in them?

Occasionally someone will upload a file with a really long name--so long that it disrupts the page, shoving everything else around. Filespace deals with this problem by "contracting" file names longer than thirty-five characters; this keeps them short enough that they usually won't cause any problems. When a filename is contracted, some characters from the beginning or middle of the name are replaced with three red dots whenever the filename is displayed; the file still has the long name, but not all of it is shown.

To view the full filename, just hover the mouse pointer over the contracted name. A ToolTip should pop up with the full filename and the number of characters that were removed from it.

To keep this from happening, just use shorter filenames. Honestly, people, why in God's name would you need a 91-character filename?

Comments

( Read 7 comments — Leave a comment )
acdragonmaster
Feb. 16th, 2004 08:49 am (UTC)
Eh, I have long filenames on my pics from Japan, because the filename both numbers the pics so they stay in order and gives each a brief title...
brentdax
Feb. 16th, 2004 10:14 am (UTC)
Re:
I know--I'm testing this feature on your folder. :^) You only have a few files that trip over it, though. It's mostly for those who didn't notice that their computer created CDocumentsAndSettingsSomeNameMyDocumentsMyPicturesTheRealFilename.jpg.
acdragonmaster
Feb. 16th, 2004 12:05 pm (UTC)
Re:
Lol, right. I always rename my files when I upload them, only use long names for sorting purposes.
codepoetica
Feb. 16th, 2004 12:15 pm (UTC)
Re:
Brent, do you forsee a check/replace implemented to 'correct' those interesting filenames? Or, why are they being created as such?
brentdax
Feb. 16th, 2004 01:05 pm (UTC)
Re:
They're being sent like that because IE is retarded and sends the entire path instead of just the filename.

The new upload script will correct for that; it'll also scan incoming files for MIME type, and offer to add an extension to the filename if the user didn't already give one.
codepoetica
Feb. 16th, 2004 01:14 pm (UTC)
Re:
nice =)
codepoetica
Feb. 16th, 2004 10:11 am (UTC)
I find that most of the files in my downloads directory exceed 35 characters, due to a uniform naming scheme I implemented a while back.

class.class.class.application.name.version.comment

There is a folder for each class layer, and optionally one for each of the others, to permit grouping of related utilities. For example:

downloads/win32/win32.media/win32.media.Winamp/win32.media.winamp.v5.0_full.exe

And this is one of the shorter filenames; at 33 characters.

downloads/win32/win32.driver/win32.driver.Codec/win32.driver.Codec.Nimo.Codec.Pack.v5.0.build8.exe

Thus, longer filenames are quite useful. Long pathnames are useful. Tab autocomplete is -very- useful when I start doing this. However, why someone would upload a file with such a long name to filespace, I cannot say. Yay for nice help documents!
( Read 7 comments — Leave a comment )