cancel
Showing results for 
Search instead for 
Did you mean: 

Upload file: In library but 0 bytes

andyhorton
Champ in-the-making
Champ in-the-making
Hello,

WHen I upload a text file to a folder in the document library, it is received as a 0 byte file. That is, if I upload a .txt file with drag and drop or with the flash file uploader it appears in the library, but has no content (0 bytes). This is reproducable for any .txt file, but if I rename the file with a new extension (no change to the content) it will upload fine, with all of its content.

Does anyone know what my problem is here?

Thanks

Andrew
3 REPLIES 3

kqfflo
Champ in-the-making
Champ in-the-making
Hi Andy,

2 questions:
1) Are you using SSL for uploading?
2) Provoke the "error" again, remember the time and take a look into your alfresco.log

With this information we can do a start

BR
Florian

andyhorton
Champ in-the-making
Champ in-the-making
Hi,

I finally got around to recreating the error. Easy enough, it happens with any file which has a .txt extension. As I mentioned before, if I re-extension the file .something-else it is fine. Just .txt files fail.

So, your questions (thanks for the response).

Yes, I am using SSL, and using the Flash uploader. But (A) I have no problems using this with any other file and (B) I fixed the Flash error by making sure that my cert (which is issued by Comodo) contains the full chain - this seems to fix that problem.

I checked the alfresco.log. It has not been modified since 20th December (two months ago), there is no record of any error relating to this problem. I did search the whole machine for instances of the log, there is only one (/opt/alfresco/alfresco.log).

Not helpful I know. Does anyone have any other ideas?

Andy

andyhorton
Champ in-the-making
Champ in-the-making
*BUMP*

Anybody got any ideas?