Durell
asked on
File Functions on NT
I need a CGI Script running on NT to do the following:
1. Delete folder on another NT Box
2. Create folder on another NT Box
3. List folder contents on another mt Box
4. Copy File from one NT Box to another NT Box (and
NOT loose Date/Time Stamps)
5. Check file on another Box:
o Exist
o Size
o Date
o Time
o Checksum
1. Delete folder on another NT Box
2. Create folder on another NT Box
3. List folder contents on another mt Box
4. Copy File from one NT Box to another NT Box (and
NOT loose Date/Time Stamps)
5. Check file on another Box:
o Exist
o Size
o Date
o Time
o Checksum
ASKER
I wanted to keep this within CGI as I already have a cgi script to do some moves between unix & unix...
Yes this script will be running on NT
Yes this script will be running on NT
so are you running Perl5 on your NT box?
ASKER
yes
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
the methods to manipulate files and folders is called FSO; see www.aspfaqs.com > FSO for this.
Test the file as an asp file. then rewrite it as a .wsh file (remove all the server.createObject statements and use createObject instead).
Or you can use a trusty dos file, called as a batch file from the scheduler!