{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "name": "Edge CLI Storage commands | Edge Docs",
  "headline": "Edge CLI Storage commands | Edge Docs",
  "description": "Edge CLI Storage command reference: create buckets, upload, download, move and sync files, generate presigned URLs and view usage metrics.",
  "url": "https://edge.network/docs/cli/storage",
  "image": "https://edge.network/og/docs__cli__storage.png",
  "inLanguage": "en",
  "publisher": {
    "@type": "Organization",
    "name": "Edge Network",
    "url": "https://edge.network",
    "logo": "https://edge.network/favicon.svg"
  },
  "isPartOf": {
    "@type": "WebSite",
    "name": "Edge Network",
    "url": "https://edge.network"
  },
  "breadcrumb": {
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://edge.network"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Docs",
        "item": "https://edge.network/docs"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Cli",
        "item": "https://edge.network/docs/cli"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "Storage",
        "item": "https://edge.network/docs/cli/storage"
      }
    ]
  },
  "section": "documentation/cli",
  "articleBody": "Docs CDN Deployments, domains, caching, purging and on-the-fly image optimisation. Getting started \n Deployments \n Domains & SSL \n Compute Virtual machines in seconds: networking, firewalls, backups and SSH keys. Getting started \n Creating VMs \n Managing VMs \n DNS Zones, records, geo-routing, backups and development domains. Getting started \n Zone management \n DNS records \n Storage S3-compatible buckets, access keys, presigned URLs and multipart uploads. Getting started \n Buckets \n Access keys \n Shield Privacy-first bot protection: widget modes, siteverify and verified agents. Getting started \n Widget modes \n JavaScript API \n Assist AI answers from your own content: widget, ingestion and the API. Getting started \n Widget & embedding \n Content ingestion \n REST API Manage every Edge resource over HTTPS with API keys. Authentication \n Errors \n Versioning \n Compute \n CDN \n DNS \n CLI One binary for macOS, Linux and Windows to script every product. Installation \n Authentication \n Compute commands \n CDN commands \n DNS commands \n Storage commands \n Dev tooling Command palette and keyboard shortcuts across the console. Command palette \n Agent tooling Let AI agents deploy and manage infrastructure: discovery, MCP and access codes. Start with the overview MCP server \n MCP tool reference \n Connect your tool \n Framework wrappers \n Self-signup \n Access codes \n Discovery endpoint \n Deploy a static site \n Deploy an app \n Projects \n Bot protection \n AI answers \n Account & support Teams, security, audit logs, alerts, billing tools and support. Start with the overview Teams \n Referral programme \n Cost Advisor \n Security \n Two-factor auth \n Audit log \n Alerts \n Support tickets \n Search the docs ⌘K Console Products\n\n CDN Compute DNS Storage Shield Assist Developer tools\n\n REST API CLI Overview Installation Authentication Compute commands CDN commands DNS commands Storage commands Shield commands Configuration Dev tooling Agents\n\n Agent tooling Account\n\n Account & support Buckets Copy Anchor Link \n\n List buckets Copy Anchor Link \n\n Output Copy Text $ edge storage list \n NAME OBJECTS SIZE CREATED \n my-assets 1,234 2.3 GB 2025-01-15 \n backups 456 45.6 GB 2025-02-01 \n website-static 89 123 MB 2025-02-10 Create a bucket Copy Anchor Link \n\n Output Copy Text $ edge storage create my-new-bucket \n \n Creating bucket... done \n \n Name: my-new-bucket \n Region: london Delete a bucket Copy Anchor Link \n\n Terminal Copy Text # Delete empty bucket \n edge storage delete my-bucket \n \n # Delete bucket and all contents \n edge storage delete my-bucket --force Bucket info Copy Anchor Link \n\n Output Copy Text $ edge storage info my-assets \n Name: my-assets \n Region: london \n Objects: 1,234 \n Size: 2.3 GB \n Created: 2025-01-15 Objects Copy Anchor Link \n\n List objects Copy Anchor Link \n\n Output Copy Text $ edge storage ls my-bucket \n NAME SIZE MODIFIED \n images/ - - \n documents/ - - \n index.html 4.2 KB 2025-02-10 14:30 \n styles.css 12.3 KB 2025-02-10 14:30 \n app.js 45.6 KB 2025-02-10 14:32 \n \n # List contents of a folder \n $ edge storage ls my-bucket/images/ \n NAME SIZE MODIFIED \n logo.png 23.4 KB 2025-02-08 \n hero.jpg 1.2 MB 2025-02-08 \n icons/ - - \n \n # List all objects recursively (note: -R uppercase) \n $ edge storage ls my-bucket -R Upload files Copy Anchor Link \n\n Terminal Copy Text # Upload a single file \n edge storage cp ./logo.png my-bucket/images/ \n \n # Upload to specific path \n edge storage cp ./file.pdf my-bucket/documents/report.pdf \n \n # Upload multiple files \n edge storage cp ./dist/* my-bucket/static/ \n \n # Recursive upload (folder, note: -R uppercase) \n edge storage cp -R ./public my-bucket/website/ Download files Copy Anchor Link \n\n Terminal Copy Text # Download a single file \n edge storage cp my-bucket/images/logo.png ./downloads/ \n \n # Download to specific path \n edge storage cp my-bucket/report.pdf ./local-report.pdf \n \n # Recursive download (folder, note: -R uppercase) \n edge storage cp -R my-bucket/backups/ ./local-backups/ Delete objects Copy Anchor Link \n\n Terminal Copy Text # Delete a single object \n edge storage rm my-bucket/old-file.txt \n \n # Delete multiple objects \n edge storage rm my-bucket/file1.txt my-bucket/file2.txt \n \n # Recursive delete (folder, note: -R uppercase) \n edge storage rm -R my-bucket/old-folder/ \n \n # Delete without confirmation \n edge storage rm -R my-bucket/temp/ --force Move or rename Copy Anchor Link \n\n Terminal Copy Text # Rename an object \n edge storage mv my-bucket/old-name.txt my-bucket/new-name.txt \n \n # Move to different folder \n edge storage mv my-bucket/file.txt my-bucket/archive/file.txt Sync Copy Anchor Link \n\n Synchronise directories between your local filesystem and storage:\n\n Terminal Copy Text # Sync local folder to bucket \n edge storage sync ./dist my-bucket/website/ \n \n # Sync bucket to local folder \n edge storage sync my-bucket/backups/ ./local-backups/ \n \n # Sync with delete (remove files not in source) \n edge storage sync --delete ./dist my-bucket/website/ \n \n # Dry run (show what would change) \n edge storage sync --dry-run ./dist my-bucket/website/ Presigned URLs Copy Anchor Link \n\n Generate temporary URLs for private objects:\n\n Output Copy Text # Generate presigned URL (default 1 hour) \n $ edge storage presign my-bucket/private/document.pdf \n https://storage.edge.network/my-bucket/private/document.pdf?X-Amz-... Terminal Copy Text # Custom expiry \n edge storage presign my-bucket/file.zip --expires 24h \n \n # Expiry options: 5m, 1h, 24h, 7d (max 7 days) Usage and metrics Copy Anchor Link \n\n Overall usage Copy Anchor Link \n\n Output Copy Text $ edge storage usage \n Total Size: 48.2 GB \n Total Objects: 12,345 \n Buckets: 5 Bucket metrics Copy Anchor Link \n\n Output Copy Text $ edge storage metrics my-bucket \n Bucket: my-bucket \n Region: london \n \n Storage Used: 2.3 GB \n Objects: 1,234 \n Created: 2025-01-15 \n \n $ edge storage metrics \n Overall Storage Metrics \n \n Total Storage: 48.2 GB \n Total Objects: 12,345 \n Buckets: 5 Common flags Copy Anchor Link \n\n Flag Description -R , --recursive Operate recursively on folders (uppercase R ) -f , --force Force delete bucket with contents / skip confirmation --delete Delete files not in source (sync only) --dry-run Show what would change without making changes (sync only) --expires Expiry time for presigned URLs (e.g. 1h , 24h , 7d ) -r , --region Global flag for region selection Warning\n\n Recursive uses uppercase -R . The lowercase -r is reserved for the global --region flag. Use uppercase -R for recursive operations.\n\n Tips Copy Anchor Link \n\n Quiet mode for scripting: use the -q flag to suppress progress output in scripts.\n Very large files (1 GB+): for uploading very large files, consider using S3-compatible tools like aws s3 cp or rclone , which support multipart uploads with automatic retry and resumption.\n Warning\n\n Upload limits. The console has a 1 GB upload limit. Use the CLI or S3 API for larger files.\n\n Next steps\n\n Configuration\n\n Customise CLI settings\n\n Storage docs\n\n Full Storage documentation\n\n Something unclear or out of date? Tell us , or read this page as Markdown .\n\n DNS commands\n\n Previous\n\n Shield commands\n\n Next",
  "headings": [
    {
      "level": 1,
      "text": "Storage commands"
    },
    {
      "level": 2,
      "text": "Next steps"
    },
    {
      "level": 3,
      "text": "Configuration"
    },
    {
      "level": 3,
      "text": "Storage docs"
    }
  ],
  "relatedLinks": [
    {
      "@type": "WebPage",
      "name": "Network",
      "url": "https://edge.network/network"
    },
    {
      "@type": "WebPage",
      "name": "Pricing",
      "url": "https://edge.network/pricing"
    },
    {
      "@type": "WebPage",
      "name": "Docs",
      "url": "https://edge.network/docs"
    },
    {
      "@type": "WebPage",
      "name": "Sign in",
      "url": "https://edge.network/console/access"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/cdn/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Deployments",
      "url": "https://edge.network/docs/cdn/deployments"
    },
    {
      "@type": "WebPage",
      "name": "Domains &amp; SSL",
      "url": "https://edge.network/docs/cdn/domains"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/compute/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Creating VMs",
      "url": "https://edge.network/docs/compute/creating-vms"
    },
    {
      "@type": "WebPage",
      "name": "Managing VMs",
      "url": "https://edge.network/docs/compute/managing-vms"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/dns/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Zone management",
      "url": "https://edge.network/docs/dns/zones"
    },
    {
      "@type": "WebPage",
      "name": "DNS records",
      "url": "https://edge.network/docs/dns/records"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/storage/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Buckets",
      "url": "https://edge.network/docs/storage/buckets"
    },
    {
      "@type": "WebPage",
      "name": "Access keys",
      "url": "https://edge.network/docs/storage/access-keys"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/shield/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Widget modes",
      "url": "https://edge.network/docs/shield/widget-modes"
    },
    {
      "@type": "WebPage",
      "name": "JavaScript API",
      "url": "https://edge.network/docs/shield/js-api"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/assist/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Widget &amp; embedding",
      "url": "https://edge.network/docs/assist/widget"
    },
    {
      "@type": "WebPage",
      "name": "Content ingestion",
      "url": "https://edge.network/docs/assist/ingestion"
    },
    {
      "@type": "WebPage",
      "name": "Authentication",
      "url": "https://edge.network/docs/api/authentication"
    },
    {
      "@type": "WebPage",
      "name": "Errors",
      "url": "https://edge.network/docs/api/errors"
    },
    {
      "@type": "WebPage",
      "name": "Versioning",
      "url": "https://edge.network/docs/api/versioning"
    },
    {
      "@type": "WebPage",
      "name": "Compute",
      "url": "https://edge.network/docs/api/compute"
    },
    {
      "@type": "WebPage",
      "name": "CDN",
      "url": "https://edge.network/docs/api/cdn"
    },
    {
      "@type": "WebPage",
      "name": "DNS",
      "url": "https://edge.network/docs/api/dns"
    },
    {
      "@type": "WebPage",
      "name": "Installation",
      "url": "https://edge.network/docs/cli/installation"
    },
    {
      "@type": "WebPage",
      "name": "Authentication",
      "url": "https://edge.network/docs/cli/authentication"
    }
  ],
  "alternateFormats": [
    {
      "@type": "MediaObject",
      "contentType": "text/html",
      "url": "https://edge.network/docs/cli/storage",
      "name": "HTML version"
    }
  ],
  "dateModified": "2026-11-23T08:56:45.502Z"
}