Direct link = forbiden, but with php script folders listing is OK. How to create config in this situation?

What is the problem you are having with rclone?

Direct link, example:
http://www.pur-e2.club/OU/images/
Server returns (403 Forbiden) .
Anti-leach set in .htaccess, i guess.

--

But the same folder with php script server returns all folders and files, example:
http://www.pur-e2.club/OU/images/index.php

--

Is it possible to create config and get all folders and files in this situtation? And how?
I've tried a few solutions withuot success. Always empty mount.

Run the command 'rclone version' and share the full output of the command.

rclone v1.57.0

  • os/version: pure2 6.5
  • os/kernel: 4.4.35 (armv7l)
  • os/type: linux
  • os/arch: arm
  • go/version: go1.17.2
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

http

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone config create pure2download http url='http://www.pur-e2.club/OU/images/index.php' -vv

The rclone config contents with secrets removed.

[pure2download]
type = http
url = http://www.pur-e2.club/OU/images/index.php

A log from the command with the -vv flag

root@sf8008:~# rclone config create pure2download http url='http://www.pur-e2.club/OU/images/index.php' -vv
2022/01/23 14:49:16 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "config" "create" "pure2download" "http" "url=http://www.pur-e2.club/OU/images/index.php" "-vv"]
2022/01/23 14:49:16 DEBUG : Using config file from "/home/root/.config/rclone/rclone.conf"
2022/01/23 14:49:16 DEBUG : Saving config "url" in section "pure2download" of the config file
2022/01/23 14:49:16 DEBUG : Keeping previous permissions for config file: -rwxr-xr-x
2022/01/23 14:49:16 DEBUG : pure2download: config in: state="", result=""
2022/01/23 14:49:16 DEBUG : pure2download: config out: out=<nil>, err=<nil>
2022/01/23 14:49:16 DEBUG : Keeping previous permissions for config file: -rwxr-xr-x
--------------------
[pure2download]
type = http
url = http://www.pur-e2.club/OU/images/index.php
--------------------
2022/01/23 14:49:16 DEBUG : rclone: Version "v1.57.0" finishing with parameters ["rclone" "config" "create" "pure2download" "http" "url=http://www.pur-e2.club/OU/images/index.php" "-vv"]

--

root@sf8008:~# rclone lsd pure2download
2022/01/23 14:54:19 ERROR : : error listing: directory not found
2022/01/23 14:54:19 Failed to lsd with 2 errors: last error was: directory not found

hello,

as far as i know, rclone cannot work with that website.
rclone only works with simple static websites.
rclone cannot see links that are dynamically generated by scripts such as php.

that is not correct syntax, as the remote needs a colon in it like so.
rclone lsd pure2download:

thank you for a qucik answer

note: can download individual files using rclone copyurl

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.