question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sftp_download fails to download file with ';' in the file name

See original GitHub issue

Expected behaviour:

download file via sftp_download plugin

Actual behaviour:

does not download the file due to filename containing ‘;’ character all other files download normally (alphanumeric with some containing dashes)

Steps to reproduce:

  • Step 1: …

have a config with sftp_download task to accept all files run flexget execute --tasks sync-series series name has a ‘;’ in the name (Steins;Gate 0)

Config:

paste FULL config and remove any personal info
if config is too long, attach the file to the ticket
variables: variables.yml

templates:

  global:
    no_entries_ok: yes

  anchors:
    _sftp_list: &sftp_list
      host: '{? sftp.host ?}'
      username: '{? sftp.username ?}'
      private_key: '{? sftp.private_key ?}'
      private_key_pass: '{? sftp.private_key_pass ?}'

  notify-sync:
    notify:
      entries:
        title: 'FlexGet'
        message: "Downloaded {{title|replace('.mkv','')|replace('.mp4','')}}"
        via:
          - pushbullet:
              api_key: '{? pushbullet.apikey ?}'

tasks:

  sync-series:
    sftp_list:
      <<: *sftp_list
      dirs:
        - '{? remote.downloads ?}/series/'
    accept_all: yes
    sftp_download:
      to: '{? local.downloads ?}/series/'
    template: notify-sync

  sort-series:
    filesystem: '{? local.downloads ?}/series/'
    configure_series:
      from:
        filesystem: '{? local.videos ?}/series/'
    move:
      to: "{? local.videos ?}/series/{{series_name}}/"

schedules:
  - tasks: sync-series
    schedule:
      minute: "*/30"
      hour: 8-23
  - tasks: sort-series
    schedule:
      minute: 10,40
      hour: 8-23

Log:

paste log output
if log output is too long, attach the file to the ticket

from flexget.log: Remote path does not exist: /home/$user/downloads/flexget/series/Steins

Additional information:

  • FlexGet version: 2.13.3
  • Python version: 2.7.12
  • Installation method: pip install inside a virtualenv based on python2
  • Using daemon (yes/no): yes
  • OS and version: ubuntu 16.04.3 LTS 64 bit
  • Link to crash log:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
paranoidicommented, Jul 12, 2018

Tutturuu~~

0reactions
ianstalkcommented, Dec 3, 2018

Yup, I certainly didn’t mean for it to behave that way. 😆 I don’t see any danger in changing it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SFTP Download error - Software AG Tech Community & Forums
when testing flow with Get a List of files and folders, and this give me the output with right information in type 0....
Read more >
SFTP download files are 0kb or not the full file - Forum
It takes a while to download the files and it does not error. ... OpenFileSync(String Filename, Int32 Modes, TElSftpFileAttributes Attributes) at SBSftp.
Read more >
Download SFTP files that starts with prefix name using SSH ...
Start with the code from the following question and add the additional constraint on the file name prefix. Downloading a directory using SSH ......
Read more >
Error when downloading files from SFTP - File Path error
I am trying to download files from an SFTP via power automate. ... String ftpFileDirectory, String fileName, FtpTransferType transferType, ...
Read more >
Javelin SFTP Download "At least one authentication method ...
Who I can extract multiple files and fix this error? I fill all the Property Names that are necessary: And I select the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found