I am looking for a special script that checks for a certain amount of specific files (MB/GB) in a specific folder.
Example: I want a script to verify on connection that you have 100MB of jpg files in a folder called images. All other folders mean nothing and all other files in the images folder mean nothing.
I am a realy newbie to scripts and running a hub. Sorry.
(Script Needed) Check for files in folder name
Moderator: Moderators
-
Sid
- Posts: 56
- Joined: 2003-01-07 23:13
Here this is a start
Function FileExists(sFilePath)
Dim fsoAppPath, fsoFolder
Set fsoAppPath = CreateObject("Scripting.FileSystemObject")
FileExists = fsoAppPath.FileExists(sFilePath)
Set fsoAppPath = Nothing
End Function
you need to list files in a dir dont have something handy to do that right now.
Dim fsoAppPath, fsoFolder
Set fsoAppPath = CreateObject("Scripting.FileSystemObject")
FileExists = fsoAppPath.FileExists(sFilePath)
Set fsoAppPath = Nothing
End Function
you need to list files in a dir dont have something handy to do that right now.
-
Sardonis
- Posts: 7
- Joined: 2003-02-04 20:18
Sid, that'll just check to see if a path on the person who is running the hub's hard drive exists. It won't find whether or not a user who is visiting has that directory....I don't know how you would do this, but I don't doubt that there is a modified client that could do this, I would imagine it'd be easier to make a client do this than have a hub script do it.
Who is online
Users browsing this forum: Google [Bot] and 0 guests