Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #22614 > unrolled thread
| Started by | Martin Heller <mr_heller@yahoo.dk> |
|---|---|
| First post | 2014-01-14 12:40 +0100 |
| Last post | 2014-01-18 23:17 +0000 |
| Articles | 6 — 4 participants |
Back to article view | Back to comp.lang.javascript
Create folder in local file system Martin Heller <mr_heller@yahoo.dk> - 2014-01-14 12:40 +0100
Re: Create folder in local file system Bjoern Hoehrmann <bjoern@hoehrmann.de> - 2014-01-14 12:53 +0100
Re: Create folder in local file system Christoph Michael Becker <cmbecker69@arcor.de> - 2014-01-14 13:08 +0100
Re: Create folder in local file system Dr J R Stockton <reply1400@merlyn.demon.co.uk.invalid> - 2014-01-15 20:12 +0000
Re: Create folder in local file system Christoph Michael Becker <cmbecker69@arcor.de> - 2014-01-17 22:54 +0100
Re: Create folder in local file system Dr J R Stockton <reply1400@merlyn.demon.co.uk.invalid> - 2014-01-18 23:17 +0000
| From | Martin Heller <mr_heller@yahoo.dk> |
|---|---|
| Date | 2014-01-14 12:40 +0100 |
| Subject | Create folder in local file system |
| Message-ID | <52d5224d$0$303$14726298@news.sunsite.dk> |
I am trying to automate the creation of folders in the local filesystem
based on input in a list input form on a SharePoint intranet site.
So far I have achieved this by using jQuery to modify the input form and
an ActiveXObject for creating the folder
fso = new ActiveXObject("Scripting.FileSystemObject");
fldr = fso.CreateFolder("\\path\to\folder");
This works fine in older versions of Internet Explorer, but in newer
versions and other browsers this is not working.
Does a browser-independent method exist for creating a folder/file in
the local file system using JavaScript? I do understand that there are
security concerns associated with allowing the browser to access and
modify the local filesystem, but this being an intranet site I am
willing to loosen the security settings to gain some functionality.
[toc] | [next] | [standalone]
| From | Bjoern Hoehrmann <bjoern@hoehrmann.de> |
|---|---|
| Date | 2014-01-14 12:53 +0100 |
| Message-ID | <c89ad9l5ea9fm4kavpk98v8585u419ice8@hive.bjoern.hoehrmann.de> |
| In reply to | #22614 |
* Martin Heller wrote in comp.lang.javascript: >This works fine in older versions of Internet Explorer, but in newer >versions and other browsers this is not working. > >Does a browser-independent method exist for creating a folder/file in >the local file system using JavaScript? I do understand that there are >security concerns associated with allowing the browser to access and >modify the local filesystem, but this being an intranet site I am >willing to loosen the security settings to gain some functionality. There might be ways to make it work with newer versions of IE, but no, there is no browser-independent method for this, nor do all browsers implement browser-specific methods for it. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
[toc] | [prev] | [next] | [standalone]
| From | Christoph Michael Becker <cmbecker69@arcor.de> |
|---|---|
| Date | 2014-01-14 13:08 +0100 |
| Message-ID | <52d528b5$0$6566$9b4e6d93@newsspool4.arcor-online.net> |
| In reply to | #22615 |
Bjoern Hoehrmann wrote: > * Martin Heller wrote in comp.lang.javascript: >> This works fine in older versions of Internet Explorer, but in newer >> versions and other browsers this is not working. >> >> Does a browser-independent method exist for creating a folder/file in >> the local file system using JavaScript? I do understand that there are >> security concerns associated with allowing the browser to access and >> modify the local filesystem, but this being an intranet site I am >> willing to loosen the security settings to gain some functionality. > > There might be ways to make it work with newer versions of IE, but no, > there is no browser-independent method for this, nor do all browsers > implement browser-specific methods for it. It might be useful to point to the section "How can I access the client-side filesystem?" of the newsgroup's FAQ.[1] Maybe the information there might need some update. [1] <http://pointedears.de/scripts/faq/cljs/#readFile> -- Christoph M. Becker
[toc] | [prev] | [next] | [standalone]
| From | Dr J R Stockton <reply1400@merlyn.demon.co.uk.invalid> |
|---|---|
| Date | 2014-01-15 20:12 +0000 |
| Message-ID | <WNczIxKVuu1SFw4u@invalid.uk.co.demon.merlyn.invalid> |
| In reply to | #22617 |
In comp.lang.javascript message <52d528b5$0$6566$9b4e6d93@newsspool4.arc or-online.net>, Tue, 14 Jan 2014 13:08:23, Christoph Michael Becker <cmbecker69@arcor.de> posted: >It might be useful to point to the section "How can I access the >client-side filesystem?" of the newsgroup's FAQ.[1] Maybe the >information there might need some update. That section needs rewriting by someone truly literate in English who possesses both intelligence and knowledge. For a start, one needs to consider the possible implications of "I access" in its Subject. -- (c) John Stockton, Surrey, UK. ¬@merlyn.demon.co.uk Turnpike v6.05 MIME. Web <http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links. Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036) Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)
[toc] | [prev] | [next] | [standalone]
| From | Christoph Michael Becker <cmbecker69@arcor.de> |
|---|---|
| Date | 2014-01-17 22:54 +0100 |
| Message-ID | <52d9a676$0$6556$9b4e6d93@newsspool4.arcor-online.net> |
| In reply to | #22636 |
Dr J R Stockton wrote: > In comp.lang.javascript message <52d528b5$0$6566$9b4e6d93@newsspool4.arc > or-online.net>, Tue, 14 Jan 2014 13:08:23, Christoph Michael Becker > <cmbecker69@arcor.de> posted: > >> It might be useful to point to the section "How can I access the >> client-side filesystem?" of the newsgroup's FAQ.[1] Maybe the >> information there might need some update. > > That section needs rewriting by someone truly literate in English who > possesses both intelligence and knowledge. Wouldn't you be a suitable candidate? :) > For a start, one needs to > consider the possible implications of "I access" in its Subject. -- Christoph M. Becker
[toc] | [prev] | [next] | [standalone]
| From | Dr J R Stockton <reply1400@merlyn.demon.co.uk.invalid> |
|---|---|
| Date | 2014-01-18 23:17 +0000 |
| Message-ID | <ypf6xhgWuw2SFwGG@invalid.uk.co.demon.merlyn.invalid> |
| In reply to | #22659 |
In comp.lang.javascript message <52d9a676$0$6556$9b4e6d93@newsspool4.arc
or-online.net>, Fri, 17 Jan 2014 22:54:07, Christoph Michael Becker
<cmbecker69@arcor.de> posted:
>Dr J R Stockton wrote:
>
>> In comp.lang.javascript message <52d528b5$0$6566$9b4e6d93@newsspool4.arc
>> or-online.net>, Tue, 14 Jan 2014 13:08:23, Christoph Michael Becker
>> <cmbecker69@arcor.de> posted:
>>
>>> It might be useful to point to the section "How can I access the
>>> client-side filesystem?" of the newsgroup's FAQ.[1] Maybe the
>>> information there might need some update.
>>
>> That section needs rewriting by someone truly literate in English who
>> possesses both intelligence and knowledge.
>
>Wouldn't you be a suitable candidate? :)
Insufficiently - I want to read it, AFTER it has been rewritten.
--
(c) John Stockton, nr London UK. ???@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Check boilerplate spelling -- error is a public sign of incompetence.
Never fully trust an article from a poster who gives no full real name.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.javascript
csiph-web