in reply to creating a directory remotely implicitly
I guess you're using the OpenSSH package.
If so, it allows you to run remote commands using the ->system method. So, to create a remote directory before copying, you could run:
$ssh->system(qq{mkdir "$remote_dir"});
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: creating a directory remotely implicitly
by t-rex (Scribe) on Jun 28, 2016 at 13:46 UTC | |
by hippo (Archbishop) on Jun 28, 2016 at 13:50 UTC | |
by shmem (Chancellor) on Jun 28, 2016 at 13:52 UTC |