-
Notifications
You must be signed in to change notification settings - Fork 608
Closed
Description
It seems as though shell expansion is not supported is this correct or am I doing something wrong.
The example below will not find the file test_file
unless you explicitly specify "test_file"
SSHClient ssh = new SSHClient();
// ssh.useCompression(); // Can lead to significant speedup (needs JZlib in classpath)
ssh.loadKnownHosts();
ssh.connect("localhost");
try {
ssh.authPublickey(System.getProperty("user.name"));
ssh.newSCPFileTransfer().download("*_file", new FileSystemFile("/tmp/"));
} finally {
ssh.disconnect();
}
Thanks
Metadata
Metadata
Assignees
Labels
No labels