Skip to content

[sftp] error on missing remote directory? #9

@mrwonko

Description

@mrwonko

I have a feeling that SftpClient.listFolder() might throw an SftpException on ls( pathToFiles ) if the given path does not exist on the remote. Is this desired behaviour? It could arguably return an empty list because there are no files at the given path, but as it stands it results in a "Failed to acquire file list from remote server!" log (which does not actually include the exception, so I'm only guessing here... see #8).

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