Upload browser favorites?

J

john_c

If I want to upload a user's (with permissiom) web browser favorites,
will they have to configure their favorites folder to allow the
ASP.NET user to access that folder?

What happens for Mac users?

Thanks,
John
 
M

Mark Fitzpatrick

First off, the ASPNET user account isn't performing any access because it is
local to the server only and is therefore irrelevant.

I'm not even sure how you would perform such a task. Typically, any upload
mechanism that you would perform through a normal web page would require a
file input type. I'm not sure what the limit is on the number of files.
Typically the upload is for one file at a time so I don't think it's
possible to grab an entire folder as it's not a recursive operation. There
is a trick to doing more than one file per upload form, check out:
http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/
for a great example.

Basically though, I don't think there's an easy way to do what you want.
JavaScript wouldn't have the permissions to rummage around and grab the
favorites and you can't upload folders themselves. Not to mention the fact
that each browser out there handles favorites completely differently. I
don't think this is going to be one of those things that will be worth a lot
of time investigating as I'm not sure it's do-able.
 
K

Kevin

IMHO, this is not possible without using ActiveX (and then again, this
will work only in IE and only if the users decide to trust the ActiveX
control). There is no API in DHTML / Javascript allowing you to modify
the browser settings. I'll second Mark's opinion that you probably
need to search for other approaches and not waste much time on that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,170
Latest member
Andrew1609
Top