file download problem
-
iam downloadin file which has arabic file name with a length more than 60 characters in arabic when i click on download the file name is showing ...and arabic file name and while saving the complete file name is comming.how to solve this problem
-
iam downloadin file which has arabic file name with a length more than 60 characters in arabic when i click on download the file name is showing ...and arabic file name and while saving the complete file name is comming.how to solve this problem
Sorry, didn't get you. Could you describe your problem more detailed? What do you want to achieve?
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
Sorry, didn't get you. Could you describe your problem more detailed? What do you want to achieve?
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
hi thanks for ur reply My problem is iam having a arabic file with large file name like this شش شششش شش شششش شش شششش شش شششش.doc when iam trying to download this file using the dowload code in file download popup iam able to see only few characters of the file name and while saving iam not getting the exact file name wat i download above how to solve this problem
-
hi thanks for ur reply My problem is iam having a arabic file with large file name like this شش شششش شش شششش شش شششش شش شششش.doc when iam trying to download this file using the dowload code in file download popup iam able to see only few characters of the file name and while saving iam not getting the exact file name wat i download above how to solve this problem
Do you use the default file downloader or a third component party? You could post the code where you download the file, so maybe we can find the issue there. I'm afraid that it is an encoding problem, but not really sure. Did you try to download the file without your app, just by browsing to the file with your browser?
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
Do you use the default file downloader or a third component party? You could post the code where you download the file, so maybe we can find the issue there. I'm afraid that it is an encoding problem, but not really sure. Did you try to download the file without your app, just by browsing to the file with your browser?
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
here file.name contains that arabic file name with a long name characters. Response.AddHeader("content-disposition", "attachment; filename=" & Server.UrlPathEncode(file.Name)) Response.AddHeader("Content-Length", file.Length.ToString()) Response.ContentType = type ' "application/octet-stream" Response.WriteFile(file.FullName) Response.End()
-
here file.name contains that arabic file name with a long name characters. Response.AddHeader("content-disposition", "attachment; filename=" & Server.UrlPathEncode(file.Name)) Response.AddHeader("Content-Length", file.Length.ToString()) Response.ContentType = type ' "application/octet-stream" Response.WriteFile(file.FullName) Response.End()
lakshmichawala wrote:
Subject: .hers is the my code
I have asked the same thing over here http://www.codeproject.com/Messages/3101813/arabic-file-name-is-coming-in-junk-characters-while-download-the-file-using-asp-net.aspx[^] Why are you asking same question multiple time ?
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article
-
lakshmichawala wrote:
Subject: .hers is the my code
I have asked the same thing over here http://www.codeproject.com/Messages/3101813/arabic-file-name-is-coming-in-junk-characters-while-download-the-file-using-asp-net.aspx[^] Why are you asking same question multiple time ?
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article
hi Abhijit sorry to disturb u ...i have got the soluting for that problem.now this is new problem iam facing abi..since some cases the arabic file name is large more than 40 characters in length then while saving the file actual file name is not coming