/    Sign up×
Community /Pin to ProfileBookmark

Folder view in IE (disable/check)

I want to disable FTP folder view in Internet Explorer 5+ (or at least check to see if is enabled and warn about it). I think in IE7 it is no longer available. Is this possible from Javascript? There is an ATL class, CRegKey, which I should be able to create as a COM object in Javascript, and then read the registry. If it’s allowed with the permissions on Javascript in IE. And if I know exactly which COM object to create and registry key to read. I’ve looked around and can’t put my finger on the exact info. Any thoughts? Thanks.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@andalusauthorDec 04.2006 — The registry key that affects folder view is "use web based FTP". See this article

http://www.winguides.com/registry/display.php/644/

Now I need to create the right COM object to read it...if Javascript can do this from a browser...
Copy linkTweet thisAlerts:
@andalusauthorDec 04.2006 — I've come across a discussion on "programming the browser" on the MSDN site which looks promising. See this

http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/hosting/hosting.asp

A registry interface is provided by MSHTML, which is the main chunk of IE apparently, which should be available on a client w/out IEAK? I'm not "reusing the web browser control" just trying to control the one I'm in, shouldn't have to redistribute anything (least of all an ActiveX control). Under Substituting User Preferences is an interface which writes the registry.

Whew. All I want to do is provide directory access to an FTP site through the browser. I have some Javascript that opens an FTP URL. In Firefox I get the straight directory view, no trouble. In IE 5 Folder view (the default) treats every folder on the site as a separate window, recursively, complete with full IE menus and bars, quite unnecessary and misleading. Before I settle for just warning the users about Folder View in the doc I will try and kill it in the registry.
×

Success!

Help @andalus spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...