Skip to content

Catch specific errors from lftp retries/timeout #177

@nicolemah99

Description

@nicolemah99

lftp has a max_retries set which allows the script to go on without hanging, I would like to handle the various errors (authentication failed, no host etc) better. Currently it logs the command from directly from lftp, but looks ugly:
ls: Fatal error: max-retries exceeded (No route to host)
ls: Login failed: 530-Not logged in. WARNING: ACCESS BY UNAUTHORIZED PERSONS STRICTLY PROHIBITED.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions