Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

content_size is not working with torrent file?

$
0
0

@conuyoneje wrote:

Hi
I'm downloading torrents file and storing them in local directory, then I want to find smaller then 15GB and upload them via SFTP to Watch dir on remote server.
I though that "content_size" should be able to read a torrent file and reject torrents that doesn't satisfy requirements

  upload:
    disable: seen
    filesystem: torrents
    content_size:
      max: 15000
      strict: no
    sftp_upload:
      host: 'xxx.xxx.xxx.xxx'
      username: 'xxxxx'
      private_key: ~/.ssh/id_rsa
      to: '/var/lib/transmission/Watch/'
    exec:
      - rm "{{location}}"

Unfortunately my code uploads all torrent to remote server.
What I'm missing?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles