Results 1 to 5 of 5

Thread: Temporary Internet Folders

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Location
    Johannesburg, South Africa
    Posts
    12

    Temporary Internet Folders

    Can anybody point me in the right direction.

    I am trying to access a file on the client, directly from the Temorary Internet folder, where the file (pdf) is created while browsing.

    Under normal circumstances the client would probably just save the file to a local location and all would be fine. However in this instance, the file must be saved automaticaly (client side).

    My problem is that, even though I know what the file is called in the temporary folder, at run time, I try copy it and get a File not Found.

    If I look in the temporary folder I can see it there.

    Using standard VB6, how do I access it?
    Hans

  2. #2
    Frenzied Member andreys's Avatar
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    1,615
    Use FileSystemObject to find and copy file.

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Location
    Johannesburg, South Africa
    Posts
    12
    Thanks for the input but

    FileSystemObject.fileExists(C:\Documents and Settings\Hansw\Local Settings\Temporary Internet FilesAppRoutine?order+12023.pdf)

    returns false

    even though I find

    AppRoutine?order+12023.pdf in C:\Documents and Settings\Hansw\Local Settings\Temporary Internet Files

    This is why I need to no more about what happens to files being created in this folder. (By some or other Java application.)
    Hans

  4. #4
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131
    Have you got this in the right category? If you are referring to the file system object in ASP then you only have access to the file system on the server that is running the ASP script and not on the client.

  5. #5
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Like DJ4UK said, the reason probably you cant find the file is that your asp script is looking at the server rather then the client machine.

    Also i wanna mention that the folder "Temporary Internet Folder" is not a normal folder, it is a system folder and consists of other system folders. Take a look at the print screen to see what i mean.


    Hope this helps.

    Danial

    Attached Images Attached Images  
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

Posting Permissions

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



Click Here to Expand Forum to Full Width