Skip to content

Error in path when uploading #75

@zaghop

Description

@zaghop

I am attempting to transfer a file using SFTP on a windows machine. When the package attempts to send the file, it is using an incorrect path. I am passing in the full path location, but it is appending the following to the beginning of the path.

"/cygdrive/c/Scripts/file-mover/"

The script is located in C:/Scripts/file-mover. For example, if I pass in a filename of "C:/Temp/thisfile.txt" the error that I see is as follows:

{ error:
'put: /cygdrive/c/Scripts/file-mover/C:/Temp/thisfile.txt: No such file or directory\n',
data: '' }

Is there a way to prevent this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions