Welcome Guest Search | Active Topics | Sign In | Register

Ajax Uploader - only Info file created Options
Phil
Posted: Thursday, April 21, 2011 9:42:20 AM
Rank: Advanced Member
Groups: Member

Joined: 11/16/2010
Posts: 48
A user uploaded a file (from a Mac), but my app received a null .ClientFileName and there was only a .staus file in TempUpload directory (no .data or .info) The client reported that the upload had completed normally.
The status file contains
Œ) ÿÿÿ

Can you suggest possible causes please?
eo_support
Posted: Thursday, April 21, 2011 10:32:23 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You will want to depend on FileUploaded event to determine whether the file has uploaded correctly. The client can conclude an upload is successful only when your application explicitly tells them so, and your application will depend on FileUploaded event. So in no case will your application see nothing but your client believes the upload is successful.

Thanks!
Phil
Posted: Thursday, April 21, 2011 11:28:00 AM
Rank: Advanced Member
Groups: Member

Joined: 11/16/2010
Posts: 48
The FileUploaded event fired on the server and sender.PostedFiles.Count=1 , but the only file created was the .status and sender.PostedFiles(0).ClientFileName was null
eo_support
Posted: Thursday, April 21, 2011 11:38:51 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Please check whether you have some code on your server that incorrectly deletes those files. It is not possible to have PostedFiles.Count = 1 without first having a matching .data file. ClientFileName is stored in .info file. So you will see ClientFileName as null if your .info file is missing. In any case, all three files should be there at the very beginning; otherwise your upload will fail.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.