github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/docs/content/ulozto.md (about)

     1  ---
     2  title: "Uloz.to"
     3  description: "Rclone docs for Uloz.to"
     4  versionIntroduced: "v1.66"
     5  ---
     6  
     7  # {{< icon "fa fa-box-archive" >}} Uloz.to
     8  
     9  Paths are specified as `remote:path`
    10  
    11  Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
    12  
    13  The initial setup for Uloz.to involves filling in the user credentials. 
    14  `rclone config` walks you through it.
    15  
    16  ## Configuration
    17  
    18  Here is an example of how to make a remote called `remote`.  First run:
    19  
    20       rclone config
    21  
    22  This will guide you through an interactive setup process:
    23  
    24  ```
    25  No remotes found, make a new one?
    26  n) New remote
    27  s) Set configuration password
    28  q) Quit config
    29  n/s/q> n
    30  name> remote
    31  Type of storage to configure.
    32  Choose a number from below, or type in your own value
    33  [snip]
    34  XX / Uloz.to
    35     \ "ulozto"
    36  [snip]
    37  Storage> ulozto
    38  
    39  Option app_token.
    40  The application token identifying the app. An app API key can be either found in the API doc 
    41  https://uloz.to/upload-resumable-api-beta or obtained from customer service.
    42  Enter a value. Press Enter to leave empty.
    43  app_token> token_value
    44  
    45  Option username.
    46  The username of the principal to operate as.
    47  Enter a value. Press Enter to leave empty.
    48  username> user
    49  
    50  Option password.
    51  The password for the user.
    52  Choose an alternative below. Press Enter for the default (n).
    53  y) Yes, type in my own password
    54  g) Generate random password
    55  n) No, leave this optional password blank (default)
    56  y/g/n> y
    57  Enter the password:
    58  password:
    59  Confirm the password:
    60  password:
    61  
    62  Edit advanced config?
    63  y) Yes
    64  n) No (default)
    65  y/n> n
    66  
    67  Keep this "remote" remote?
    68  y) Yes this is OK (default)
    69  e) Edit this remote
    70  d) Delete this remote
    71  y/e/d> y
    72  ```
    73  
    74  Once configured you can then use `rclone` like this,
    75  
    76  List folders in root level folder:
    77  
    78      rclone lsd remote:
    79  
    80  List all the files in your root folder:
    81  
    82      rclone ls remote:
    83  
    84  To copy a local folder to a Uloz.to folder called backup:
    85  
    86      rclone copy /home/source remote:backup
    87  
    88  ### User credentials
    89  
    90  The only reliable method is to authenticate the user using 
    91  username and password. Uloz.to offers an API key as well, but 
    92  it's reserved for the use of Uloz.to's in-house application
    93  and using it in different circumstances is unreliable. 
    94  
    95  ### Modification times and hashes
    96  
    97  Uloz.to doesn't allow the user to set a custom modification time,
    98  or retrieve the hashes after upload. As a result, the integration
    99  uses a free form field the API provides to encode client-provided
   100  timestamps and hashes. Timestamps are stored with microsecond 
   101  precision. 
   102  
   103  A server calculated MD5 hash of the file is verified upon upload. 
   104  Afterwards, the backend only serves the client-side calculated
   105  hashes. Hashes can also be retrieved upon creating a file download
   106  link, but it's impractical for `list`-like use cases.
   107  
   108  ### Restricted filename characters
   109  
   110  In addition to the [default restricted characters set](/overview/#restricted-characters)
   111  the following characters are also replaced:
   112  
   113  | Character | Value | Replacement |
   114  | --------- |:-----:|:-----------:|
   115  | \         | 0x5C  | \           |
   116  
   117  Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
   118  as they can't be used in JSON strings.
   119  
   120  ### Transfers
   121  
   122  All files are currently uploaded using a single HTTP request, so 
   123  for uploading large files a stable connection is necessary.  Rclone will
   124  upload up to `--transfers` chunks at the same time (shared among all 
   125  uploads).
   126  
   127  ### Deleting files
   128  
   129  By default, files are moved to the recycle bin whereas folders
   130  are deleted immediately. Trashed files are permanently deleted after
   131  30 days in the recycle bin. 
   132  
   133  Emptying the trash is currently not implemented in rclone.
   134  
   135  ### Root folder ID
   136  
   137  You can set the `root_folder_slug` for rclone.  This is the folder
   138  (identified by its `Folder slug`) that rclone considers to be the root
   139  of your Uloz.to drive.
   140  
   141  Normally you will leave this blank and rclone will determine the
   142  correct root to use itself. However you can set this to restrict rclone
   143  to a specific folder hierarchy.
   144  
   145  In order to do this you will have to find the `Folder slug` of the
   146  folder you wish to use as root.  This will be the last segment
   147  of the URL when you open the relevant folder in the Uloz.to web
   148  interface.
   149  
   150  For example, for exploring a folder with URL 
   151  `https://uloz.to/fm/my-files/foobar`, `foobar` should be used as the 
   152  root slug.
   153  
   154  `root_folder_slug` can be used alongside a specific path in the remote 
   155  path. For example, if your remote's `root_folder_slug` corresponds to `/foo/bar`, 
   156  `remote:baz/qux` will refer to `ABSOLUTE_ULOZTO_ROOT/foo/bar/baz/qux`.
   157  
   158  {{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/ulozto/ulozto.go then run make backenddocs" >}}
   159  ### Standard options
   160  
   161  Here are the Standard options specific to ulozto (Uloz.to).
   162  
   163  #### --ulozto-app-token
   164  
   165  The application token identifying the app. An app API key can be either found in the API
   166  doc https://uloz.to/upload-resumable-api-beta or obtained from customer service.
   167  
   168  Properties:
   169  
   170  - Config:      app_token
   171  - Env Var:     RCLONE_ULOZTO_APP_TOKEN
   172  - Type:        string
   173  - Required:    false
   174  
   175  #### --ulozto-username
   176  
   177  The username of the principal to operate as.
   178  
   179  Properties:
   180  
   181  - Config:      username
   182  - Env Var:     RCLONE_ULOZTO_USERNAME
   183  - Type:        string
   184  - Required:    false
   185  
   186  #### --ulozto-password
   187  
   188  The password for the user.
   189  
   190  **NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
   191  
   192  Properties:
   193  
   194  - Config:      password
   195  - Env Var:     RCLONE_ULOZTO_PASSWORD
   196  - Type:        string
   197  - Required:    false
   198  
   199  ### Advanced options
   200  
   201  Here are the Advanced options specific to ulozto (Uloz.to).
   202  
   203  #### --ulozto-root-folder-slug
   204  
   205  If set, rclone will use this folder as the root folder for all operations. For example,
   206  if the slug identifies 'foo/bar/', 'ulozto:baz' is equivalent to 'ulozto:foo/bar/baz' without
   207  any root slug set.
   208  
   209  Properties:
   210  
   211  - Config:      root_folder_slug
   212  - Env Var:     RCLONE_ULOZTO_ROOT_FOLDER_SLUG
   213  - Type:        string
   214  - Required:    false
   215  
   216  #### --ulozto-list-page-size
   217  
   218  The size of a single page for list commands. 1-500
   219  
   220  Properties:
   221  
   222  - Config:      list_page_size
   223  - Env Var:     RCLONE_ULOZTO_LIST_PAGE_SIZE
   224  - Type:        int
   225  - Default:     500
   226  
   227  #### --ulozto-encoding
   228  
   229  The encoding for the backend.
   230  
   231  See the [encoding section in the overview](/overview/#encoding) for more info.
   232  
   233  Properties:
   234  
   235  - Config:      encoding
   236  - Env Var:     RCLONE_ULOZTO_ENCODING
   237  - Type:        Encoding
   238  - Default:     Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot
   239  
   240  #### --ulozto-description
   241  
   242  Description of the remote
   243  
   244  Properties:
   245  
   246  - Config:      description
   247  - Env Var:     RCLONE_ULOZTO_DESCRIPTION
   248  - Type:        string
   249  - Required:    false
   250  
   251  {{< rem autogenerated options stop >}}
   252  
   253  ## Limitations
   254  
   255  Uloz.to file names can't have the `\` character in.  rclone maps this to
   256  and from an identical looking unicode equivalent `\` (U+FF3C Fullwidth
   257  Reverse Solidus).
   258  
   259  Uloz.to only supports filenames up to 255 characters in length.
   260  
   261  Uloz.to rate limits access to the API, but exact details are undisclosed. 
   262  Practical testing reveals that hitting the rate limit during normal use
   263  is very rare, although not impossible with higher number of concurrently 
   264  uploaded files.
   265  
   266  `rclone about` is not supported by the Uloz.to backend. Although 
   267  there's an endpoint to retrieve the information for the UI, it's not 
   268  exposed in the API.  Backends without this capability cannot determine 
   269  free space for an rclone mount or use policy `mfs` (most free space) 
   270  as a member of an rclone union remote.
   271  
   272  See [List of backends that do not support rclone about](https://rclone.org/overview/#optional-features) and [rclone about](https://rclone.org/commands/rclone_about/)