|
Need help with a script
For a windows server, I'd like help with this:
When file xyz.txt arrives into directory C:/New/
a folder is created in httpdocs//domain name/Folders/, that is named XYZ(file name).
And an html file named Download.html, is created within /XYZ/ (folder)
which includes this:
<html>
<head>
</head>
<body>
<a href="http://domain name/Folders/file name/file name">File name</a>
</body>
</html>
Then xyz.txt is moved from C:/New/ into directory C:/Output/.
Can this script also have a feature that can delete the file, and download file, automatically after seven days?
|