You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to upload several files with scp via SSHLibrary. It works just fine with a single file, but when using wildcards for multiple files, it returns [Errno 2] No such file or directory.
This does NOT work: SSHLibrary.Put File ${CURDIR}/test/*.json destination=/tmp/ scp=ALL
And returns: [Errno 2] No such file or directory: '/home/triblex/Projects/RobotFramework/upload/test/*.json'
But this works: SSHLibrary.Put File ${CURDIR}/test/test.json destination=/tmp/ scp=ALL
The text was updated successfully, but these errors were encountered:
I reproduced it myself, this is a bug with SCP transfer that doesn't take into account pattern matching. Doesn't look too difficult to fix, so most probably will be resolved in the next release.
I am attempting to upload several files with scp via SSHLibrary. It works just fine with a single file, but when using wildcards for multiple files, it returns
[Errno 2] No such file or directory
.This does NOT work:
SSHLibrary.Put File ${CURDIR}/test/*.json destination=/tmp/ scp=ALL
And returns:
[Errno 2] No such file or directory: '/home/triblex/Projects/RobotFramework/upload/test/*.json'
But this works:
SSHLibrary.Put File ${CURDIR}/test/test.json destination=/tmp/ scp=ALL
The text was updated successfully, but these errors were encountered: