Hi, everyone, Thank in advance!
Now I use the Control "HtmlInputFile" , C# and .NET to design a webpage for uploading the file. When the length of the filename(with its path) of the selected file is more than 255, the textbox part of the HtmlInputFile is blank. As for the situation, I hope a error message is given. I have tried to write some codes in the Global.aspx.cs. But I failed.
For Example:
C:\Documents and Settings\wjf\111\11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111.doc
How can I do?
Munir ShaikhPosted Jul 30, 2007, 6:29 AM
Read my series of articles on uploading file, bulk upload, Upload progress bar, you will get your solution,
http://www.c-sharpcorner.com/UploadFile/munnamax/ProgressBar07062007122251PM/ProgressBar.aspx?ArticleId=0b84aab9-5385-4190-b357-0dd9f8841713
Regards,
>>Munnamax