Forums
This topic is locked
FSO problem
Posted 27 Apr 2006 06:16:16
1
has voted
27 Apr 2006 06:16:16 chong lu yen posted:
<%importfolder=server.mappath("/excelfile/"
Dim fs, file, f1, fc
Set fs = Server.CreateObject("Scripting.FileSystemObject"
Set file = fs.GetFolder(importfolder)
Set fc = file.files
For Each f1 in fc
%>
i m using FSO to read and search the file in a folder name excelfile.can someone guide me how to use FSO to read the folder at another server. for example, the asp code file put in server A and then when the user run the asp file in server A, he can read the file in the folder at Server B? thanx...