I am using uploadify tool to upload my files with out posting back and I am facing this problem "IO Error" or "HTTP Error" after publishing the site.
This is my code sample :
$('#UploadFile').uploadify({
'uploader': '/Content/uploadify.swf',
'script': '/Home/uploadify',
'cancelImg': '/Content/cancel.png',
'folder': '/Content/UploadedFiles',
'auto': true
});
this is my action code
[HttpPost]
public string uploadify()
{
string fileDirectory = Server.MapPath(@"\Content\UploadedFiles\");
string signuterName = _fileStore.SaveUploadedFile(Request.Files[0], fileDirectory);
Session["SignuterfilePath"] = @"/Content/UploadedFiles/" + signuterName;
return signuterName;
}
http://www.uploadify.com/documentation/
thanks.