iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-11-2004, 06:32 AM
WebControlGirl's Avatar
WebProWorld New Member
 
Join Date: Jun 2004
Location: Minneapolis, MN
Posts: 3
WebControlGirl RepRank 0
Default ASP.NET Upload

I want to purchase an upload component for my ASP.NET dating service. Does anyone know where I can get one?

I already own UploadPRO.NET. The problem is that I want to allow multiple uploads on one page. When I do multiple uploads, it does not allow me to access them and rename them. It just dumps them into a directory, with whatever name they came in with...this doesn't work for me.

The one from WebSuperGoo, does everything I want but $900 is a little spendy. Its very heavy duty and made for larger uploads. Is there a cheaper option?

All I want is an upload component that allows multiple uploads on one page, that I can rename each individual file. Shouldn't be that big a deal.

I've tried writing this stuff from scratch, but I always get an error that says "the file you are accessing is used by another process".

I'm very much for third party components when it comes to buggy .NET stuff...its just not worth the problems.

Any advice would be greatly appreciated.

Thanks,
Chris
Reply With Quote
  #2 (permalink)  
Old 06-11-2004, 09:21 AM
WebProWorld Member
 
Join Date: May 2004
Location: UK
Posts: 77
M0rtym0use RepRank 0
Default

WebControlGirl,

if you have some .net understanding this should make sense and its free :D
to use multiples you could loop it...

in the namespace...

using System.IO;

in the HTML Control Def Class...

protected System.Web.UI.HtmlControls.HtmlInputFile UploadFile;

In a Sub Class...

HttpPostedFile MyFile = UploadFile.PostedFile;
strFileName = MyFile.FileName;
strFileName = System.IO.Path.GetFileName(strFileName);
MyFile.SaveAs(Server.MapPath("../Files/") + strFileName);


this should be all you would need
i have used this in webcontrol but would work in a aspx page too

the language i have used is c#

hope this helps

MM
__________________
M0rtyM0use

Simply Rugby
Reply With Quote
  #3 (permalink)  
Old 06-14-2004, 11:06 PM
WebProWorld Member
 
Join Date: May 2004
Location: Good ole USA
Posts: 72
CharleneH RepRank 0
Default Buggy .net stuff

It's usually the programmer. There are a few kinks in .net, but they usually involve some very complicated issues.

Need to post multiple items. Respond to each in it's own on click handler

If you want me to code this for you give me the particulars.
Reply With Quote
  #4 (permalink)  
Old 06-21-2004, 10:53 PM
WebProWorld Member
 
Join Date: Apr 2004
Location: Florida
Posts: 97
ECommerceConversions RepRank 0
Default

Just make sure your web hosting company gave you right permissions to your local directory. Some of them don't by default.

Look into using your stuff with SQL Database. If you are storing information being uploaded, you could have it more robust and manageable with tightly coded SQL procedures and such.
__________________
Joe

<a href="http://www.ecommerceconversions.com">
Custom Web Design and E-Commerce Solutions - ECommerceConversions</a>

Ozone Generators where you can buy an ozone generator or ozone machine
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:58 AM.



Search Engine Optimization by vBSEO 3.3.0