WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox 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.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-11-2004, 05:32 AM
WebControlGirl's Avatar
WebControlGirl WebControlGirl is offline
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
__________________
Software Engineer - ConnectingSingles.com
Reply With Quote
  #2 (permalink)  
Old 06-11-2004, 08:21 AM
M0rtym0use M0rtym0use is offline
WebProWorld Member
 

Join Date: May 2004
Location: UK
Posts: 83
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, 10:06 PM
CharleneH CharleneH is offline
WebProWorld Member
 

Join Date: May 2004
Location: Good ole USA
Posts: 73
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, 09:53 PM
ECommerceConversions ECommerceConversions is offline
WebProWorld Member
 

Join Date: Apr 2004
Location: Florida
Posts: 99
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
Tags: aspnet, upload



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

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



Search Engine Friendly URLs by vBSEO 3.0.0