Skip to Content
avatar image
Former Member

Local file system access

Hi:

I´m trying to create a local folder in user´s HDD, and to open a document (*.doc, *.pdf ...) in this local HDD ¿how can I do those things? .

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 07, 2004 at 02:20 PM

    Well, would you like if some web site created a directory on your harddisk ?

    The answer is probably no ..

    The best way is therefore to provide a file upload component (think there is a htmlb component for this), and once the file is uploaded you can display it to the user/or process it in any way you want

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 07, 2004 at 02:41 PM

    The file I want to see is already in my local HDD, but doing this :

    String myScript = "";

    m_response.write(myScript);

    I can´t see it, because a javascript access error (I have access to this disk).

    ¿Does anybody have an example that works?

    Add comment
    10|10000 characters needed characters exceeded