Support command-line uploads.