SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member apple's Avatar
    Join Date
    Aug 2003
    Location
    Malaysia
    Posts
    17
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    How to retrieve file from hard disk and display on a list?

    I have a javascript code to save form data in XML format. In this, user can provide a filename in which data will be saved.

    Now there is a button "Load" which should display the list of files saved by that user and then user can open any file from that list.

    I would like to know how to find out how many files have been saved by user and display a list using javascript.
    Attached Files Attached Files

  2. #2
    SitePoint Guru
    Join Date
    Feb 2005
    Posts
    602
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I don't know of any way to directly access a folder, but you could do a workaround: just store the filenames in another XML file. Each time the user requests a save, update the corresponding XML containing filenames.

  3. #3
    SitePoint Member apple's Avatar
    Join Date
    Aug 2003
    Location
    Malaysia
    Posts
    17
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Currently I only can open the current file. So, if I want to open the previous file or choose any of the files I have saved earlier from a list, what should be done?


Bookmarks

Posting Permissions

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