Site
Web
Search
Login
Home
Document Exchange
Features
Extensions
Licensing
Testimonials
Translations
Buy
DMX Extensions
Support
Forums
Downloads
Free Stuff
Translations
Company
Partners
News
Contact
Test
You are here:
Support
/
Forums
Bring2mind Forums
Forums
Search Forum
Search
Advanced Search
Topics
Posts
Unanswered
Active Topics
Forums
>
Document Exchange
>
User Interface
Error when uploading files with spaces in
Last Post 11/06/2012 6:10 AM by
Graham Lewis
. 5 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
BartS
New Member
Posts:12
08/20/2012 7:43 PM
Hi all
I've just installed DMX to test it out to see if it will work for our organisation and right of the bat I got an error trying to upload a file that contains spaces in the name.
When I rename the file and remove the spaces the file uploads fine.
Does anyone know if there is a fix for this or if this is a limitation of DMX?
BartS
New Member
Posts:12
08/20/2012 7:46 PM
Nevermind - I realised that it was not because of the spaces in the file name but because it was an empty text file. If I add any text in the file it uploads fine - even with spaces in the filename
Graham Lewis
New Member
Posts:21
09/06/2012 2:57 AM
Can confirm that uploading a zero-length file doesn't work. This is a bit of a problem for me with a system I am developing - I'd like to use empty files just as a placeholder for remarks and attributes which are the important information.
Peter: Is this a fundamental limitation for DMX or is there the
possibility of a fix / enhancement to allow zero-length files?
Thanks,
Graham
Peter Donker
Veteran Member
Posts:4536
09/06/2012 6:57 PM
Graham: it's indeed a limitation in the current version. I'll revisit this to see if it can be removed. But can't promise as I'm not sure about the consequences.
Peter
Peter Donker
Veteran Member
Posts:4536
11/05/2012 4:06 PM
This turns out to be a fundamental issue with http. The uploaders don't even recognize empty files. Try uploading an empty file with the regular asp.net uploader and the upload control appears empty upon post.
So there is no way for the logic to distinguish between an empty or a non-existent file. Making an exception for import would, IMO, create a potential instability. You cannot do anything with those "placeholders" without risking something having a fit because it is 0 bytes. For now I can't see how we can support this.
@Graham: I suggest you put at least one byte in those placeholder files.
Peter
Graham Lewis
New Member
Posts:21
11/06/2012 6:10 AM
Peter,
Thanks for the update.We are currently looking at a slightly different approach so it may not turn out to be an issue. But it's good to know it's a fundamental limitation so if I do need to go back to the original idea I will make sure we create at lease one-byte dummy files.
Regards,
Graham
You are not authorized to post a reply.
Document Exchange
--Release Notes for Document Exc...
--Installation and Activation Is...
--User Interface
--Search
--Storage and Security
--WebDAV
--API
Document Exchange Lite
--Installation and Activation Is...
--Search
--Localization
--UI
--Storage and Security
--Extensions and addons
Forums
>
Document Exchange
>
User Interface