Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to search another machine's directory structure

Status
Not open for further replies.

clauds

Programmer
Jul 30, 2001
10
0
0
US
I am developing a portal module on one server (ASP on IIS)and the module has to search for and pickup files/directories residing on another machine which does not host any type of web server. I need a method or piece of code that can search through the directory structure of another machine and transfers the selected folder to the IIS server.
 

clauds,

Does the other machine have a NTFS file system or Unix file system? If NTFS, could you map a drive to a share and then do the search? Files System Object code can be written to search through a directory.

Please provide more info. Thanks.

fengshui1998
 
It is an NTFS, but FileSystemObject will not access a virtual drive or mapped drive on NTFS. It gives an error of path not found.
 


clauds,

File System Object DOES access virtual drives and mapped drives. That is the purpose of FSO and that's what it does or else we would be in deep doo doo. Can you show some code or what is your path to the file?

fengshui1998
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top