And we like wms!
+Powered by wms-core
You're their manager, please be nice with them.
+ +# | +URL | +Name | +Size | +Expires at | +Actions | +
---|---|---|---|---|---|
{{ file.id }} | +
+
+ {{ file.getURL() }}
+
+
+ |
+ {{ file.real_name }} | +{{ (file.size / (1024 * 1024)).toFixed(2) }}MB | + {% set expires_at = file.getExpirationDate() %} +{% if expires_at %}{{ expires_at.toISOString() }}{% else %}Never{% endif %} | ++ Delete + | +
(except illegal ones)
+ +There may be a desktop client at some point. For now, if you're an advanced user, you can setup + scripts/macros.
++ To upload the file, you must: +
+Field name | +Description | +Optional? | +Example | +
---|---|---|---|
upload | +The file field | +No | +- | +
ttl | +How much time (in seconds) to keep the file | +Yes | +0 (never delete), 30 (delete after 30s) | +
Example with curl:
+curl -X POST -H 'Accept: application/json' \ +-H "Authorization: very_secret_and_personal_token" \ +-F 'upload=@path/to/local/file' \ +https://ily.li/+
curl -X PUT -H 'Accept: application/json' \ +-H "Authorization: very_secret_and_personal_token" \ +-F 'upload=@path/to/local/file' \ +https://ily.li/my_very_important_file.png+
curl -X POST -H 'Accept: application/json' \ +-H "Authorization: very_secret_and_personal_token" \ +-F 'upload=@path/to/local/file' \ +-F 'ttl=30' \ +https://ily.li/+
# | +Secret | +Created at | +Last used at | +Actions | +
---|---|---|---|---|
{{ token.id }} | +
+
+
+ {{ token.secret }}
+
+ |
+ {{ token.created_at.toISOString() }} | +{{ token.used_at.toISOString() }} | ++ Revoke + | +
You can now close this page.
+ {% endif %} +Waiting for you to open the link...
+