SOLVED

Sync local files to Sharepoint

Copper Contributor

Hi,

 

I need your help! There's a folder in my server which contains loads of files. I want sync these files to Sharepoint Online to have them on both places with out moving them from the server. How can I do this?

 

Sandro

7 Replies
Do you mean you have your files in a network share? If so, what you could do is to sync the doc. library to this share file using ODFB, but then the files are going to "live" in SPO and can be synchronized in any computer belonging to users that can accss the document library

Sandro...keeping files both in a network share and a document library, essentially having 2 copies, is not recommended.  Users will get confused on what "version" is the most current and you lose a lot of the collaboration features that are in SharePoint.  It's best to cut over to SharePoint and then users can sync the files locally if they need offline capabilities.

Hi Steve,

 

Thanks for the quick answer. I do know that, what I meant was I'd like to have them syncronized from the network share directly from Sharepoint. I need the files in the network share due to some programs are reading information from those files in the network share.

 

Sandro

Hi Juan Carlos,

 

What you're saying is that I can sync my network share folder directly to Sharepoint? I do not care where the files are "living" as long as they're on both places synchronized.

 

Sandro

We have the same problem at a CAD Workstation.

There we are using the new OneDrive Sync Client to Sync OneDrive.

Normally the Sync Client is syncing to a folder in the User profile.

We use mklink to create a symbolic link to the folder in the User profile.

This works fine with the user who is logged on to the work station.

On a Server normally there isn’t a user logged on – you have to make sure a user is logged on and the OneDrive Sync Client is started.

This is not very nice – but It can work.

Hi @Heiko Watz,

 

Thanks for the answer, that's where I was trying to get. For the moment I can work with that.

Can you tell me a bit more about it? Is it reliable? Have you had any trouble/errors?

 

Best regards, 

Sandro

best response confirmed by Sandro Clz (Copper Contributor)
Solution

Hi @Sandro Clz,

 

What can I tell you about this solution?!

It works for me and with it we can make an automatic backup of our local CAD files to OneDrive4B.

 

But you have to make sure a user is logged on and the OneDrive Sync Client is started. -> I think this was the biggest Problem on a Server.

But when you log on after a reboot and start the OneDrive Sync Client, then it works.

 

We had only problems with very long file names / path or special files they can’t sync with OneDrive (like .exe)

 

We use this command to make the symbolic link:

mklink /j c:\RedirectedFolder "%userprofile%\OneDrive - xyz\FolderToRedirect"

 

But I don’t know how it work when you share this folder.

 

Good luck

1 best response

Accepted Solutions
best response confirmed by Sandro Clz (Copper Contributor)
Solution

Hi @Sandro Clz,

 

What can I tell you about this solution?!

It works for me and with it we can make an automatic backup of our local CAD files to OneDrive4B.

 

But you have to make sure a user is logged on and the OneDrive Sync Client is started. -> I think this was the biggest Problem on a Server.

But when you log on after a reboot and start the OneDrive Sync Client, then it works.

 

We had only problems with very long file names / path or special files they can’t sync with OneDrive (like .exe)

 

We use this command to make the symbolic link:

mklink /j c:\RedirectedFolder "%userprofile%\OneDrive - xyz\FolderToRedirect"

 

But I don’t know how it work when you share this folder.

 

Good luck

View solution in original post