These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Filename without extension fails to upload

In Filevista 3.5 files having a filename without extension (e.g. readme) fail to upload. This shows differently for the Flash and the "non-Flash" way:

Flash way:
Selecting the file is ok, uploading process also ok, final status says all ok => but the file is NOT uploaded and there are no exceptions visible in the event log on the server.

"non-Flash" way:
Selecting file is ok, uploading fails with a msg box saying "An error occurred: This file type is not allowed."; the event log on the server shows an unhandled exception.

A bypass to upload those files is to put them in a zip of course, but is it also possible to upload these kind of files without using the zip-way ?
Herman 1/28/2009 2:00 AM
There is no restriction with the extensionless files. The only problem can be zero sized files. If the file size is 0 bytes, then it will not allow you to add the file to the upload list, as it's useless to upload an empty file.
Cem Alacayir 3/10/2009 5:04 AM
The "readme" file used for testing was 34kb (so not a 0-sized file). For the "non-flash" way the browser says the upload is fully ok (so user thinks all went ok), but the file never appears in the area where all other files show correctly. The application log on the W2K server says "An unhandled exception occurred in the upload module".
Herman 3/10/2009 6:31 AM
Forgot to mention, that test in previous reply was performed on WNT4.0 box. When performed on W98SE box the FF 2.x shows msg box saying "This file type is not allowed".
Herman 3/10/2009 6:45 AM
Sorry Herman,
I forgot to say you need to first set allowed file types to * for the root folder in the administration page. Then logout, relogin and you will see the files without extension will be uploaded.

The default value for allowed file types (Any type) is "*.*" and this does not cover extensionless files, so setting it to "*" instead will allow them.
Cem Alacayir 3/11/2009 6:31 AM
Thanks Cem, that "*" solves it.
Herman 3/11/2009 7:50 AM
FYI, in v3.6 "Any type" will now include files without extensions by default.
Cem Alacayir 6/8/2009 1:33 AM