signaloid-cli files upload
Upload a file to storage.
Synopsis
signaloid-cli files upload --path <remotePath> [--from <localFile> | --text <string>]
Description
Upload a file from your local machine to Signaloid cloud storage, or create a file from text content. You must specify either --from to upload a local file, or --text to create a file from a string.
Options
| Option | Required | Description |
|---|---|---|
--path <remotePath> | Yes | Destination path in storage |
--from <localFile> | Either | Local file to upload |
--text <string> | Or | Text content to upload |
Examples
Upload local file
signaloid-cli files upload \
--path datasets/data.csv \
--from ./local-data.csv
Upload text content
signaloid-cli files upload \
--path config/settings.txt \
--text "sample_size=1000"
Notes
- Either
--fromor--textmust be specified, but not both - Files are overwritten if they already exist at the destination path
- Parent directories are created automatically if they don't exist
- Check storage limits before uploading large files
Troubleshooting
Upload Failures
Problem: File upload fails or times out.
Solutions:
- Check file size is within limits (typically 100 MB max):
ls -lh local-data.csv - Verify the local file exists and is readable:
test -r local-data.csv && echo "File is readable" || echo "Cannot read file" - Ensure sufficient storage quota in your account
- Verify network connectivity
- Try uploading a smaller test file first
"File not found" Error
Problem: Cannot find local file to upload.
Solutions:
- Verify the file path is correct
- Use absolute paths or ensure you're in the correct directory
- Check file permissions
Storage Quota Exceeded
Problem: Cannot upload due to storage limits.
Solutions:
- Delete unused files to free up space:
signaloid-cli files rm --path datasets/old-file.csv - Check your account's storage usage
- Consider upgrading your storage plan
See Also
- signaloid-cli files - Files command overview
- signaloid-cli files download - Download files from storage
- signaloid-cli files ls - List uploaded files
- signaloid-cli files mkdir - Create directories before upload