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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How access another server

Status
Not open for further replies.

TRACEYMARYLAND

Programmer
May 21, 2004
370
US
Hi i have our intranet site on server_03 and need to access some diagrams from server_02

What would be the best way to access the diagrams
 
create ftp service on server_02

or if 02 is your work file server and 03 is only your web server.. keep them seporate and just move a copy of the files to 03
 
Ok i have the following:

Dwgs on 'TVI_server02'\Visual (V:\)
which has CAPA
TVI folders

I see the directories on the server so im doing

sMapPath = "V:\TVI\"
Set objFolder = objFSO.GetFolder(sMapPath)

But does not work.

Do i have to set up a virtual directory on teh server aswell to point to the "Mapped drive "

Thanks
 
When i create a virtual directory it is telling me to put in password and username...

What would this be....(ISUR, IWAM) or the login of the other server...........

Thanks
 
Ok i have this as follows:

Virtual Directory
E:\TVI this is my main intranet site


Now got new Virtual Directory
\\tvi_Server02\Visual\DWGS

Inside of this is two folders CAPA and TVI

Now i got my asp code in E:\TVI called drawings.asp

I am trying to get it to display all the files in the network server \\path directory im not getting the page to execute at all...

-------------------
I have tried
Dim sMapPath, objFolder
'Create File System Object to get list of files
Set objFSO = CreateObject("Scripting.FileSystemObject")
'Get The path for the web page and its dir, change this setting to view different directories!


sMapPath = "\\tvi_Server02\Visual\DWGS\CAPA"


'Set the object folder to the mapped path
Set objFolder = objFSO.GetFolder(sMapPath)
' Then for each file in the object we loop through and print the file and when it was last modified
For Each objFile in objFolder.Files%>
' Print out a link to the file



<a href="<%=path%><%=objFile.Name%>"><%=objFile.Name%></a><BR>


<%Next ' Loop back
' Clear the objects
Set objFSO = Nothing
Set objFolder = Nothing
%>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top