Browse / Open Local Files through JS webapplication
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Browse / Open Local Files through JS webapplication

  1. #1
    Join Date
    Sep 2010
    Posts
    2

    Browse / Open Local Files through JS webapplication

    hello everyone!

    I'm trying to implement a function which allows the user to browse and open files stored on local / shared drives through my JS (extjs) webapplication. I know it's not proper because of security constraints etc. but uploading files and store them on the server is no alternative.

    Currently I have a working solution using Java Webstart, but it has a few downsides...

    -JRE has to be installed on client
    -complicated updating (jws)
    -slow filechooser (swing)


    does anyone know a reasonable alternative to achieve this functionality?

    thanks in advance!

  2. #2
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,886

    Re: Browse / Open Local Files through JS webapplication

    You'll have to use VBScript and ActiveX components to do that. That means you'll be rescricted to IE.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Sep 2010
    Posts
    2

    Re: Browse / Open Local Files through JS webapplication

    Quote Originally Posted by PeejAvery View Post
    You'll have to use VBScript and ActiveX components to do that. That means you'll be rescricted to IE.
    unfortunately thats no option.. it should be crossbrowser compatible. Additionally, a lot of users have turned off activeX nowadays.

  4. #4
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,886

    Re: Browse / Open Local Files through JS webapplication

    Exactly. What you are attempting would require browsers to have major security holes! Unless you want to write a Flash component...
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center