Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

DOwnloadFilesFromSiteToLocalPC\ASp.net

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gh - 30 Nov 2007 13:38 GMT
I am looking for a control that will allow the user to click a link,
that will open up and display files and subfolders, from a predeifined
rppt folder.  I don' t want the user to be able to navigate outside of
the root folder and only be able to download files to their PC.  Does
anyone know of a control like this?

TIA
Alexey Smirnov - 30 Nov 2007 14:24 GMT
> I am looking for a control that will allow the user to click a link,
> that will open up and display files and subfolders, from a predeifined
[quoted text clipped - 3 lines]
>
> TIA

All what you need is to make a page with the list of files on it.

An example: http://aspnet.4guysfromrolla.com/articles/052803-1.aspx
gh - 30 Nov 2007 14:44 GMT
Alexey:

The cilent wants it in a treeview, so the user can expand the subfolders
and drag and drop the files to there local machine.

Thanks

>>I am looking for a control that will allow the user to click a link,
>>that will open up and display files and subfolders, from a predeifined
[quoted text clipped - 7 lines]
>
> An example: http://aspnet.4guysfromrolla.com/articles/052803-1.aspx
Peter Bromberg [C# MVP] - 30 Nov 2007 15:20 GMT
gh,

you can create a treeview and display the files in expandable treenodes, you
just need to iterate all the subfolders and their contents and bring them
back in a collection or other structure (like a dataset) that can be
databound to the treeview control.

Unfortunately, the only way you will ever get drag-drop functionality for
the downloads is with an ActiveX control. The users will need to download a
selected file by clicking on a hyperlink that points to the file on the
webserver.

--Peter
"Inside every large program, there is a small program trying to get out."
http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://www.blogmetafinder.com

> Alexey:
>
[quoted text clipped - 14 lines]
> >
> > An example: http://aspnet.4guysfromrolla.com/articles/052803-1.aspx
Alexey Smirnov - 04 Dec 2007 21:29 GMT
On Nov 30, 4:20 pm, Peter Bromberg [C# MVP]
<pbromb...@yahoo.NoSpamMaam.com> wrote:
> gh,
>
[quoted text clipped - 31 lines]
>
> - Show quoted text -

gh, I agree with Peter and in addition, I see no advantage having it.
Drag-n-drop is not as common on the web as on desktop environments.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.