RSS Forums RSS
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 2553 | Replies: 1 | Thread Tools  Display Modes
Reply
Join Date: Mar 2006
Location: Egypt,Cairo
Posts: 36
Reputation: web developer is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
web developer's Avatar
web developer web developer is offline Offline
Light Poster

Help Upload a Directory with its Files and subfloders

  #1  
Jun 28th, 2006
Hi all,
I focus now a new problem .
I want to make the user upload a complete Folder to the server .
Not file by File
How can i do it .
and also if any one have a control (Browsing directory) instead of HTML file input?

Thanks:rolleyes:
Last edited by tgreer : Jun 28th, 2006 at 12:40 pm. Reason: Removed "Bold" formatting. Please reserve formatting for code legibility.
Life Is A Big Code
Rushdy Ibrahim
Egypt
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Posts: 1,592
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 8
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Upload a Directory with its Files and subfloders

  #2  
Jun 28th, 2006
Remember the web is client-server, and ASP.NET doesn't change that.

File uploads are done via the <input type="file" /> HTML element.

That takes a file, plain and simple. So if the user wants to upload an entire folder, they'll need to zip it up into a single zip file, and upload that.

It will be up to your server code to process that zip file.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:17 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC