Page MenuHomePhabricator

Allow uploading files from the command line
Closed, WontfixPublic

Description

Occasionally I want to upload a large file... it would be helpful if I could do this via the command line, something like:

> ./bin/files upload --as alicoln /path/to/file

Event Timeline

joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Files.
joshuaspence added a subscriber: joshuaspence.

You can do this with arc upload. Is that sufficient?

Not quite. The main issue I have is that the file is larger than the maximum configured size that nginx/PHP will handle. My solution in the past has been to I crease the nginx/PHP limits.

I suppose that an SSH client for Conduit would mitigate this issue (T550).

epriestley claimed this task.

D12060 or followup work should remove the limit from arc upload.

I briefly started writing this just as a debugging tool but it was like 95% copy/paste from arc upload and didn't feel very good.

T7149 will remove this restriction from the web UI as well.