I\'m not sure if this is possible or not. Basically, I\'m writing a script that allows me to scp a file to my hosting. This is it so far. Argument 1 is the file and argument 2 i
This is a two step process
ssh myusername@ssh.myhost.net "mkdir -p $2"
This ensures directory structure is created. Then, you copy
scp $1 myusername@ssh.myhost.net:$2