5. File Storage
Alex needs to store legal documents that clients upload.
Each project gets a dedicated Scaleway Object Storage bucket in your chosen EU region. The Storage page in the console gives you a file manager to upload, organize, and preview files.
Console features
- Drag-and-drop upload — drop files or click to browse
- Folders — organize files with a folder structure and navigate with breadcrumbs
- Preview — images, PDFs, and text files render inline
- Signed URLs — generate time-limited download links for any file
- List & grid view — toggle between compact list and visual grid
Upload via SDK
// Upload a file
const file = document.getElementById('fileInput').files[0]
const { key, error } = await eb.storage
.upload('contracts/nda-acme.pdf', file)
// Get a signed download URL (1 hour expiry)
const { url } = await eb.storage
.createSignedUrl('contracts/nda-acme.pdf', 'download', { expiresIn: 3600 })
// List files in a folder
const { objects } = await eb.storage
.list({ prefix: 'contracts/' })
// Download a file
const blob = await eb.storage.download('contracts/nda-acme.pdf')
// Delete a file
await eb.storage.remove('contracts/nda-acme.pdf')All files are stored in Scaleway Object Storage in France. No data ever touches US-based cloud providers.