Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folder with "." are Ignored #201

Closed
2 of 3 tasks
drag0n141 opened this issue Jul 29, 2021 · 2 comments · Fixed by #270
Closed
2 of 3 tasks

Folder with "." are Ignored #201

drag0n141 opened this issue Jul 29, 2021 · 2 comments · Fixed by #270
Labels

Comments

@drag0n141
Copy link

drag0n141 commented Jul 29, 2021

Contributing guidelines

I've found a bug and checked that ...

  • ... the documentation does not mention anything about my problem
  • ... there are no open or closed issues that are related to my problem

Description

Hi, all Folders with "." in Name are ignored. And not appered in LOG i can only see the Folder with "FTPGRAB_SERVER_FTP_LOGTRACE=true". I think the Problem is that is escapes the "." with \ and then the Folder is not reachable.

Expected behaviour

Download the folders with "." in name

Actual behaviour

Ignores the folders with "." in name

Steps to reproduce

Folder on FTP with "." in Name

Version

  • FTPGrab version (5.0.0): 7.6.0
  • Platform (windows/linux/freebsd/macos): Linux Docker

Configuration

db:
  path: ftpgrab.db

server:
  ftp:
    host:
    port:
    username:
    password:
    sources:
      - /PS4
    timeout: 5s
    tls: false
    insecureSkipVerify: false
    logTrace: false

download:
  output: /download
  uid: 1000
  gid: 1000
  chmodFile: 0644
  chmodDir: 0755
  exclude:
    - \.nfo$
    - \.jpg$
  since: 0001-01-01T00:00:00Z
  retry: 5
  hideSkipped: false
  createBaseDir: true

notif:
  mail:
    host:
    port: 587
    username:
    password:
    ssl: false
    insecureSkipVerify: false
    from:
    to:

Logs

Thu, 29 Jul 2021 13:23:08 CEST DBG EPSV
Thu, 29 Jul 2021 13:23:08 CEST DBG 229 Entering Extended Passive Mode (|||36687|)
Thu, 29 Jul 2021 13:23:08 CEST DBG LIST /PS4/Arc_of_Alchemist_Update_v1\.01_CHT_PS4-MOEMOE
Thu, 29 Jul 2021 13:23:08 CEST DBG 150 Opening BINARY mode data connection for directory listing.
Thu, 29 Jul 2021 13:23:08 CEST DBG 226- [Ul: 0.0MB] [Dl: 1410855.1MB] [Speed: 0.00K/s]
226 [Section: DEFAULT] [Credits: 14.6MB] [Ratio: UL&DL: Unlimited]

Additional info

No response

@drag0n141
Copy link
Author

I have test it when i remove "regexp" from "internal/server/ftp/client.go" it works without any Problem and downloads all.

@crazy-max
Copy link
Owner

I have test it when i remove "regexp" from "internal/server/ftp/client.go" it works without any Problem and downloads all.

Yes looks linked to this change d7a9e9e because of an issue with PureFTPd (#49 (comment)). Will add an option to disable that behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants