Update documentation

This commit is contained in:
2024-02-15 18:46:46 +01:00
parent a4c91f0879
commit a399c03869
2 changed files with 17 additions and 10 deletions

View File

@@ -45,17 +45,14 @@ URL.
Here's how to anonymously upload a file using curl: Here's how to anonymously upload a file using curl:
``` `curl -T "file_name.txt" https://pixeldrain.com/api/file/`
curl -T "file_name.txt" https://pixeldrain.com/api/file/
```
You can also upload a file to your pixeldrain account using curl. Get an API key You can also upload a file to your pixeldrain account using curl. Get an API key
from the [API keys page](/user/api_keys) and enter it in the command. Replace from the [API keys page](/user/api_keys) and enter it in the command. Replace
the example API key here with your own: the example API key here with your own:
``` `curl -T "file_name.txt" -u :5f45f184-64bb-4eaa-be19-4a5f0459db49
curl -T "file_name.txt" -u :5f45f184-64bb-4eaa-be19-4a5f0459db49 https://pixeldrain.com/api/file/ https://pixeldrain.com/api/file/`
```
## Form value order ## Form value order

View File

@@ -16,6 +16,7 @@ Contents:
* [Pricing](#pricing) * [Pricing](#pricing)
* [Directory sharing](#directory-sharing) * [Directory sharing](#directory-sharing)
* [Limits](#limits) * [Limits](#limits)
* [Importing files](#importing-files)
* [Client integrations](#client-integrations) * [Client integrations](#client-integrations)
* [Rclone](#rclone) * [Rclone](#rclone)
* [FTPS](#ftps) * [FTPS](#ftps)
@@ -43,9 +44,9 @@ again.
## Directory sharing ## Directory sharing
Files in the the filesystem are private by default. Only you can access them Files in the the filesystem are private by default. Only you can access them
from your own account. Files and directories can be shared by clicking the Share from your own account. Files and directories can be shared by clicking the
button in the toolbar while inside the directory, or by clicking the pencil icon `Share` button in the toolbar while inside the directory, or by clicking the
next to the directory in the file viewer. pencil icon next to the directory in the file viewer.
Shared directories and files will have a shared icon next to them in the file Shared directories and files will have a shared icon next to them in the file
manager. Clicking that icon will open the shared link. You can also copy the manager. Clicking that icon will open the shared link. You can also copy the
@@ -70,6 +71,15 @@ When traversing a path, pixeldrain requests one directory at a time from the
database. This means that filesystem operations will get slower the more nested database. This means that filesystem operations will get slower the more nested
directories you have. Keep that in mind when organizing your files. directories you have. Keep that in mind when organizing your files.
## Importing files
It's possible to import files from your account's file list to your filesystem.
To do so, navigate to a directory in your filesystem, click the `Import files`
button on the toolbar. It's on the right side, between the `Create directory`
and `Edit files` buttons. You will be prompted to select the files you would
like to import. After selecting the files click `Add` and they will be added to
your filesystem.
## Client integrations ## Client integrations
There are two ways to access your filesystem from outside the web interface. There are two ways to access your filesystem from outside the web interface.
@@ -86,7 +96,7 @@ but it has not been accepted yet.
### FTPS ### FTPS
The filesystem also supports FTPS, both anonymously and with an account. The FTP The filesystem also supports FTPS, both anonymously and with an account. The FTP
server is hosted at `pixeldrain.com` on port 990. The encryption mode used is server is hosted at `pixeldrain.com` on port `990`. The encryption mode used is
`Implicit FTP over TLS`. Here is an example configuration in FileZilla: `Implicit FTP over TLS`. Here is an example configuration in FileZilla:
![FTP configuration](/res/img/misc/ftp_login.webp) ![FTP configuration](/res/img/misc/ftp_login.webp)