Merge remote-tracking branch 'origin/1.3.x_branch' into 1.3.x_branch
This commit is contained in:
@@ -21,7 +21,7 @@ also be set to a strong, random password.
|
||||
repertory.exe -set RemoteMount.RemoteToken "my password"
|
||||
|
||||
[Optional - change listening port]
|
||||
repertory.exe -set RemoteMount.RemotePort 202020
|
||||
repertory.exe -set RemoteMount.RemotePort 20202
|
||||
```
|
||||
|
||||
### Enabling Sia Remote Mount API on *NIX Systems
|
||||
@@ -32,7 +32,7 @@ also be set to a strong, random password.
|
||||
./repertory -set RemoteMount.RemoteToken "my password"
|
||||
|
||||
[Optional - change listening port]
|
||||
./repertory -set RemoteMount.RemotePort 202020
|
||||
./repertory -set RemoteMount.RemotePort 20202
|
||||
```
|
||||
|
||||
### Skynet and ScPrime Mounts
|
||||
@@ -185,7 +185,7 @@ await api.file.upload('C:\\my_file.txt', '/my_file.txt', progress_cb, false, tru
|
||||
// Truncate / resize file
|
||||
{
|
||||
const f = await api.file.create_or_open('/my_file.txt');
|
||||
const b = await f.truncate(10);
|
||||
await f.truncate(10);
|
||||
await f.close();
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user