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

Publishing existing shared folder to companyweb 1

Status
Not open for further replies.

darren97

MIS
Nov 29, 2003
192
GB
Hi

I am really new to windows sbs 2003 and need some help with the remote web workplace. I would like to be able to publish an existing shared folder so that our remote users can work on documents in the office and those documents will automatically be available to view via the sharepoint part of the remote web workplace, but I can't seem to be able to do this. Any help would be greatly appreciated.

Thanks
Darren

Regards, Darren
 
You will need to modify your system a bit but this can be done.

What you need to do is create a new folder in SharePoint and establish a WebDav connection to it so you can have folder level access to it. You can then move your data to this WebDav folder. The same data will then be available to SharePoint and Windows (explorer) users.

Please note however that SharePoint backup will not allow you to use ShadowCopy on the data (though SharePoint does offer versioning if you turn that on). Also note that backups and restores are drastically different as well but this does not help for deletions.

One of my old customers was a law firm with about 300,000 docs in SharePoint. We found the above to be limiting and devised a custom backup solution using RoboCopy, vbscript and External USB Drives. We automated RoboCopy to use the WebDav connections to allow us to make copies of the data and dumped that data into a folder for Monday, Tuesday, Wednesday, Thursday & Friday. We alternated between 2 drives nightly. Using this method I ensured I had faster file level restores as needed rather than having to restore an entire SharePoint site to get back a single deleted file.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
I should point out that you can accomplish similar goals using ASP code and leave your data where it is. You would then want to link to the ASP pages within SharePoint, however the data will not exist within SharePoint as you requested above. The ASP code is very simple.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
Thanks Mark

Excellent suggestions, thanks very much. I take your point about the backup, as restoring an entire database to recover one file would be a pain. We currently use xcopy and rsync to backup most of our data, so would be looking to go that route with this particular client.



Regards, Darren
 
Take a look at RoboCopy. It is free from microsoft in the Resource Kit Tools. it is a much more robust copy program and will allow you to only copy those files that are new or modified. it also support retry when it encounters and error.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
I didn't know that rsync was ported on wintel.
It's a pretty good, robust and fast tool in my unix world.
 
We wrote a small in house program to copy data to a NAS box and then we use rsync to take it off site to our *nix box at the data centre. Coming from a windows environment, I think that rsync absolutely rocks and gives us the functionality we need without having to use expensive 3rd party products. We want to add vss functionality to it next.

Regards, Darren
 
Hi Mark

Sorry for the delay in replying to your excellent answe above. We have decided that the way forward would be to leave the data where it is on the network but use ASP code to provide a view in Sharepoint linking back to the data. This isn't my area of expertise so could you point me in the right direction on how to get the asp code working and linking to existing data.



Regards, Darren
 
The ASP code is simple for this. Here is an example that displays documents in a directory called DOWNLOAD2.

Code:
<%@ LANGUAGE="VBSCRIPT" %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="The Spider's Parlor">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>Customer Support Download Page</TITLE>
</HEAD>
<BODY>
<!--
' AUTHOR: Mark D. MacLachlan , The Spider's Parlor
' URL: [URL unfurl="true"]http://www.thespidersparlor.com[/URL]
' COPYRIGHT (c) 2004 All Rights Reserved
' DATE  : 3/16/2004
-->

<table height=100%>
<tr>
	<td bgcolor="84A5C6" width=17% height=100%></td>
	<td valign=top>
		
		<%

		
		set directory=server.createobject("scripting.filesystemobject")
		set allfiles=directory.getfolder(server.mappath("/download2/"))
		
		' Lists all the files found in the directory
		For each directoryfile in allFiles.files 
				
			%>
			<a href=/download2/<%
			' Write out the name of the document
			response.write server.urlencode(directoryfile.name) %>><% response.write directoryfile.name %></a><br>
		<% 
				
		' End for next loop to list documents
		next 
				
		%> 
		
		
	</td>
	<td bgcolor="84A5C6" width=17% height=100%></td>
</tr>
</table>


</BODY>
</HTML>

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top