This is a migrated thread and some comments may be shown as answers.

exploring local resources

1 Answer 40 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Marcelo
Top achievements
Rank 1
Marcelo asked on 23 Oct 2011, 03:52 PM
is there any method for acces to local folders/files with this control or other?

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 24 Oct 2011, 09:19 AM
Hi Marcelo,

If I understand you correctly you need to list files from the client's computer. If this is the case, I will have to disappoint you. It is not possible to access user's local hard drive using JavaScript. This is not a restriction of RadFileExplorer but is a general JavaScript security restriction.

RadFileExplorer can be used to list physical directories that resides on the web server, or on a cloud server or even a file structure stored in a database, but to be able to list these files and / or manipulate them the web server which is running the website need to have the correct permissions.

If this is not the case, and you need to list files from a server, but not from the client's hard drive, RadFileExplorer offers the possibility to use different (custom) content provider to fulfill the requirements for the specific storage. You can find a detailed information on how to implement custom content provider in the following Live Demo and help article:
FileExplorer / Custom File Content Provider
Using custom FileBrowserContentProvider

Also, you can find various content providers in KnowledgeBase and CodeLibrary sections of your site.

Best wishes,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
FileExplorer
Asked by
Marcelo
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or