@{ ViewData["Title"] = "Storage Migration"; ViewData["PageIcon"] = "bi-cloud-upload"; bool mediaExists = ViewBag.MediaExists; int localFileCount = ViewBag.LocalFileCount; }
Local Filesystem Status
@if (mediaExists) {
@localFileCount file@(localFileCount != 1 ? "s" : "") found locally
@ViewBag.MediaPath
These files will be uploaded to Azure Blob Storage. Files already present in Azure will be skipped automatically.
} else {
No local media files found
@ViewBag.MediaPath
}
Azure Container Mapping
File Type Container
Profile photos profileimages
Job photos jobimages
Company logos companylogos
Equipment manuals manuals
Profile photos
profileimages
Job photos
jobimages
Company logos
companylogos
Equipment manuals
manuals
@if (mediaExists && localFileCount > 0) {
Run Migration
@Html.AntiForgeryToken()
Leave unchecked on the first run. Files already in Azure are always skipped — re-running is safe.
Migrating @localFileCount files, please wait…
}
@section Scripts { }