Hi
I'm assuming you want to move all .ZIP files from one folder to another? Why don't you use the .NET objects.......
Dim strFileName, strFilePath, strDestPath As String
strFilePath = "K:\FTPPREP\"
strFileName = Dir(strFilePath & "\*.ZIP")
strDestPath = "K:\FTP\"
Dim dirMove As New System.IO.DirectoryInfo(st
For Each fileMove As System.IO.FileInfo In dirMove.GetFiles
If fileMove.Extension = ".zip" Then
fileMove.MoveTo(strDestPat
End If
Next
Chris
Main Topics
Browse All Topics





by: s_sansanwalPosted on 2005-11-08 at 13:44:37ID: 15251768
Give ASPNET user permission to that folder. By default, asp.net runs under this user and it seems user don't have permission to this directory