% 'Check String Function Function FixStr(strInput) strInput = Replace(strInput, "/", "-") strInput = Replace(strInput, " ", "-") FixStr = strInput End Function %>
2002 Games - Play by Play |
Hyannis Mets |
Click on a link below to see the Play by Play from that date. <% response.write " "
'Copy file from Ftp directory to Stats directory, delete file.
Set FileObject = CreateObject("Scripting.FileSystemObject")
flag = false
Set objFolder = FileObject.GetFolder(Server.MapPath("\"))
Set objFilesColl = objFolder.Files
for each file in objFilesColl
If left(file.Name,3) = "Hya" Then
'FileObject.CopyFile "d:\Inetpub\websites\capecodbaseball\ftp\" & File.Name, "d:\Inetpub\websites\capecodbaseball\Stats\" & File.Name, True
'FileObject.DeleteFile "d:\Inetpub\websites\capecodbaseball\ftp\" & File.Name, False
'response.write "" & FixStr(left(File.DateLastModified,10)) & " " End If next %> |