Open rondonjon opened 9 years ago
Interesting. It works when I append '*' instead of ''.
+1
Seeing exactly the same. The first file is copied to the correct location, while the others are copied to the parent directory.
why isn't this fixed merged yet?
Source OS: Windows 7 Pattern: C:\Users\aaa\bbb\ccc*
Destination OS: Linux Folder: /home/target/out/
Expected Result Everything in source folder C:\Users\aaa\bbb\ccc should be copied into destination directory /home/target/out/ (which already exists when scp is called)
Actual Result Only the first file from the source folder is copied to the correct destination folder. All other files are copied to the PARENT folder of the destination folder instead, i.e. to /home/target/ instead of /home/target/out/
Sample Code