Ray C.
Ray C.

Reputation: 1

File name changed by Browser on download

My file download works good, except when certain characters are in the file name.

When I have the following characters in the file name Firefox replaces the characters with an underscore. Does anyone know why?

The characters that don't work are: * < > | / : ; ? \ "

Upvotes: 0

Views: 131

Answers (2)

Jack Straw
Jack Straw

Reputation: 586

Those are special characters reserved by either your filesystem or at least SOME filesystem (not sure how FireFox does it). You likely won't be allowed to create files with these characters in them at all because your Operating System will deny the operation.

Upvotes: 0

John Feminella
John Feminella

Reputation: 311775

Some of those are not legal characters in certain file systems, like NTFS, so a file can't be written to with that name. Firefox assumes you'd rather have the file renamed instead of being completely undownloadable.

Upvotes: 4

Related Questions