You have two issues.
1. the problem is that the file is uploaded over and over (4,000+) until i click stop on the browser, what am i doing wrong?
upload_attachments.Upload(args.FileSize, args.FileName, stream)
args.CopyTo("~/kb/article/" + Context.Request.QueryString("id"))
Should be changed to:
upload_attachments.Upload(args.FileSize, args.FileName, stream)
args.CopyTo("~/kb/article/" + Context.Request.QueryString("id"))
2. aslo the name of the file is in the GUID.filename.resx format
Why are you using the following code? Are you trying to rename the file while uploading?
args.CopyTo("~/kb/article/" + Context.Request.QueryString("id"))
The correct syntax should be:
args.CopyTo("~/kb/article/" + args.FileName)
Hope it helps.
Keep me posted
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx