Wrox Programmer Forums
|
.NET Framework 1.x For discussing versions 1.0 and 1.1 of the Microsoft .NET Framework.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 1.x section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 8th, 2006, 03:06 AM
Registered User
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Multiple file upload problem

Hi,

every body i am using asp.net 1.0 and i have a problem.i have a webform for upload the files from client machine.in this i have a html file control and one asp:table and three buttons.when any client want to upload multiple files then he will click on browse and click first button(For ADD only).This button will take the file path from html file control and create a new row in asp:table and write the path on newly added table's row.and html:file control will be blank.same procedure will be happend every time.Add button is a html type control.all this will be done using javascript becoz i dont want to refresh the page everytime when client add the file.After add the files (for example 10 files) client will click on second button.second button is the submit button (ASP:Button) .On click submit i m executing a loop and copy all files on the server using File.copy() method.Becoz i have path not having html file control(this is the reason to use File .Copy()).all are working great but problem is that i am unable to copy a file from client machine which exist on client's system folder like Administrator or desktop Error appears:--File not found or access denied.(if i give the permissions to administrator folder for everyone to read and execute permissions then i am able to upload files from users desktop )but if i am upload a file from users desktop using html file control then file upload on server without any error.
Please solve my problem if someone can.








Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem to upload file imjigu2001 ASP.NET 2.0 Professional 2 March 26th, 2008 04:37 AM
File Upload Problem meetravig Pro JSP 0 July 14th, 2007 01:34 AM
ASP.NET Component for multiple file upload subhasps8 ASP.NET 1.0 and 1.1 Professional 1 June 22nd, 2007 06:43 AM
Rename multiple file upload in sequential order flyguylol PHP How-To 0 January 11th, 2006 06:05 PM
multiple file upload errors Laurie PHP How-To 0 August 15th, 2004 11:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.