Skip to main content

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

OptionRequiredDescription
--path <remotePath>YesDestination path in storage
--from <localFile>EitherLocal file to upload
--text <string>OrText 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 --from or --text must 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:

  1. Check file size is within limits (typically 100 MB max):
    ls -lh local-data.csv
  2. Verify the local file exists and is readable:
    test -r local-data.csv && echo "File is readable" || echo "Cannot read file"
  3. Ensure sufficient storage quota in your account
  4. Verify network connectivity
  5. Try uploading a smaller test file first

"File not found" Error

Problem: Cannot find local file to upload.

Solutions:

  1. Verify the file path is correct
  2. Use absolute paths or ensure you're in the correct directory
  3. Check file permissions

Storage Quota Exceeded

Problem: Cannot upload due to storage limits.

Solutions:

  1. Delete unused files to free up space:
    signaloid-cli files rm --path datasets/old-file.csv
  2. Check your account's storage usage
  3. Consider upgrading your storage plan

See Also