File System Object

They have: 82 posts

Joined: Oct 2001

I have never worked with the File System object and do not have any decent books on the subject.

I need to access a network drive. The files I need access to are on a Novell Sad Network.

I can see the drives through the FSO but anytime I try to access them I get a path not found error.

Dim strPath 'Path of directory to show
strPath = "i:/mike"
Set objFolder = objFSO.GetFolder (strPath)

This is just a snippet. I have tried different methods, nothing has worked yet. Does anyone know where I can find a good tutorial on this?

Thanks!

- Mike

Blessed is the man who fears the LORD, who delights greatly in his commandments. Psalms 112:1

Peter J. Boettcher's picture

They have: 812 posts

Joined: Feb 2000

Accessing network files/folders from IIS/ASP is not recommended. To get this to work you have to grant access (account must be known on the network) to the account that IIS/ASP runs under. This is a big security risk. If you're doing an Intranet application then just disable annonymous access and it won't be as big an issue.

Check out the following link for more info: http://support.microsoft.com/support/kb/articles/Q207/6/71.ASP

PJ | Are we there yet?
pjboettcher.com

They have: 82 posts

Joined: Oct 2001

This will be an application for downloading files in a personal directory on a Novell server. My machine is running IIS and has an account on that server.

Those files are generated daily and need to reside on that server. I guess I could write some little app to copy the files from the Novell Server to My IIS Server, and then use FSO to download the files from the IIS Server.

Do you think this would be better?
Any other suggestions?

Thank you!!!!

Mike

Blessed is the man who fears the LORD, who delights greatly in his commandments. Psalms 112:1

Peter J. Boettcher's picture

They have: 812 posts

Joined: Feb 2000

Having an app copy the data on a daily basis is going to be easier to mantain in the long run (you know how those network guys love to change stuff!).

Another option is to use COM+. If users are going to be logged into the system, then the COM component could be activated in their scope, so, the component has the same security access as the user. I'm not sure how this would work in a Novell environment, so I can't help you there.

PJ | Are we there yet?
pjboettcher.com

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.