Forum Discussion
Move a file from a web server to a sharepoint site
Hello.
I would like to ask for some help.
Everyday some files are created in my webserver with a PHP script.
I would like to automatically move thses filee to my sharepoint site / library.
I don't know how to do ? is there a script to do this, or an API, or a tool ?
Any help would be greatly appreciated. Thank you !
Jean-Baptiste
3 Replies
you can use Hybrid Runbook Worker or simply use PowerShell cmdlets and schedule this script with task scheduler.
Cheers,
Federico
- jeanbaptiste75Copper Contributor
Thanks for your answer. On your second link there is some information about "Sharepoint Migration Tool" . Do you think this tool would fit my needs ?
SPMT supports your scenario, you need to use PowerShell scripts and generate a scheduled task (link)
Es:
Add-SPMTTask -FileShareSource <String> -TargetSiteUrl <String> -TargetList <String> [-TargetListRelativePath <String>]In general, that's fine, but it seems oversized for what you have to do.
Cheers,
Federico