Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am an absolute SharePoint rookie. We are on 2007.

In SharePoint, I have created a link to a file on a file share. I would like to copy the file to a SharePoint document library. Is this possible?

I have played around with it a bit and it looks like I can only copy the link...

EDIT: I should provide more detail on what I am trying to do and why. I have a significant number of Excel spreadsheets that are created every night and saved with the same name to a file share. Not many folks have access to the file share. I would like to know if I can create links in SharePoint to each file and then create a workflow to move them (the documents, not the links) to the appropriate locations.

I understand that non-Microsoft tools are out-of-scope for this site, but in case it matters, we use Nintex.

I will also add that I am looking for a solution that does not involve scripts outside of SharePoint or mapping our file system to a SharePoint library. We already have a few ways to skin this cat but I am looking into the possibility of simplifying it to solely a SharePoint solution.

share|improve this question
    
can you clarify your question ? you can copy a file by uploading it to sharepoint –  Steve B Jun 14 '12 at 14:12
    
how are the excel files generated ? can't the generator push the files directly in SharePoint, using WebDav maybe ? –  Steve B Jun 14 '12 at 14:25
    
Long story short - WebDav is not an option... Adding insult to injury, they are generated in SSRS, but it is also not an option for us to publish straight to SharePoint. –  JHFB Jun 14 '12 at 14:27
add comment

1 Answer

up vote 1 down vote accepted

Maybe a simple solution would be to create a simple powershell script that move the file from the file share (or copy) to sharepoint. Then use windows task scheduler to run the job at specified time.

Or, from sharepoint, create a timer job that will periodically grab content from the file share and copy it in one of the lib.

In you need real time, you can also create a custom Webpart that will enumerate files in the file share, and a custom handler that will read the binary to serve it over http. Beware of this solution as it can have security issue.

share|improve this answer
    
Actually, we currently use a powershell script, but I'm hoping to put the support of this process squarely in the hands of a non-developer. Could you provide more info on your second option? When you say "from SharePoint" do you mean within the interface or on the server? –  JHFB Jun 14 '12 at 14:38
    
you have to code it. The job is will be run by SharePoint periodically –  Steve B Jun 14 '12 at 14:40
    
code in what and where? :) Would it be another powershell script on the server? –  JHFB Jun 14 '12 at 14:41
1  
code a timer job in C# (or vb.net) in Visual Studio. Inherits from SPTimerJob and code the work –  Steve B Jun 14 '12 at 14:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.