Results 1 to 2 of 2

Thread: Count files on internet location ??

  1. #1

    Thread Starter
    Hyperactive Member WP's Avatar
    Join Date
    Aug 2000
    Location
    Belgium
    Posts
    278

    Arrow Count files on internet location ??

    Hello,

    I'm making a site in which i'd like to count the number of files in a specified directory. EG:

    My ftp location: users.tijd.com/~tdn52457/
    in which i have a folder: Folder1
    in that folder, I have my page; NewPage.htm


    => users.tijd.com/~tdn52457
    ------- Folder1
    ---------- NewPage.htm
    ---------- File1.txt
    ---------- File2.txt
    ------- Folder2
    -----------File3.txt


    Now I want on my page a list of all files in 'Folder1'
    in vbscript or jscript please, not in ASP

    Get it?
    Thanks,
    WP
    Last edited by WP; Apr 29th, 2002 at 01:09 PM.

    Visual Basic 6.0 EE SP5 / .Net
    Windows XP

  2. #2
    Frenzied Member blindlizard's Avatar
    Join Date
    Feb 2001
    Location
    Austin, TX - United States of America
    Posts
    1,141
    You would have to do it in ASP (or someother server side language) because the client machine has no way of knowing what is on a server. If you were able to see the files from the client, we would be in a hacking nightmare.
    I drink to make other people more interesting!
    [vbcode]On Error GoTo Bar[/vbcode]
    http://www.monsterlizard.com

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