Reputation: 360
I have a snapshot of an image database from Access Web Online (AWO is being decommissioned in April 2018). The datasheet contains a lot of random variables and an URL to the image stored on a SharePoint server. I need to get the images stored at the URL's location stored in the Azure Blob Storage. Is it possible? If so, how would I do it? I have administrator access to all services.
I can mention that my experience on the field is lacking.
Upvotes: 0
Views: 366
Reputation: 3421
In my opinion I would look at some way to automate this by scripting.
If scripting, I would split this problem into two parts.
When looking at getting files from SharePoint, you have a couple of alternatives, again:
If scripting it all yourself, I would opt for using SharePoint PnP PowerShell cmdlets.
To download a file, simply run
$siteurl = "https://{tenant}.sharepoint.com"
#First connect to SPO
Connect-PnPOnline -Url $siteurl
#Get the file
Get-PnPFile -ServerRelativeUrl /SPDocuments/Folder4/Files.docx -Path D:\Downloads -FileName SharePointFile.docx
Automate the retrieval process using the data you got at hand, the database. Export the paths as a .csv file and iterate over it in the script.
In this example I assume you are on SharePoint Online, but these cmdlets work for
This part should be easier.
Here you can go the scripting route again and use:
Set-AzureStorageBlobContent
for uploadingor you can use the graphical tool, Azure Storage Explorer to do it using a GUI.
Note: there are other ways to connect to a Storage Account also. I just listed the easiest ones for this specific case. However, you can also access a storage account programmatically, from e.g. C# code or using FTP.
Using Azure Storage Explorer you can simply select the files you downloaded earlier and "copy & paste" them to your Azure Storage Account.
Upvotes: 1