|
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?
|
|
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!
|
|
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
|
|
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
|
|