in the doc it is written
:recursive - the local parameter refers to a local directory, which should be uploaded to a new directory named remote on the remote server.
Wouldn't it better to copy the local dir to remote dir ?
Because now if I upload a directory local/mine to remote/test, it will upload it to remote/test/mine.
Or what I wanted to do was remote/test to be the same as local/mine because otherwise I need to make a symlink
remote/test = remote/mine and use the function with local/mine to remote to finally get remote/test to contain the file from local/mine.
Sounds confusing, hope it is clear xD
in the doc it is written
:recursive - the local parameter refers to a local directory, which should be uploaded to a new directory named remote on the remote server.
Wouldn't it better to copy the
local dir
toremote dir
? Because now if I upload a directorylocal/mine
toremote/test
, it will upload it toremote/test/mine
. Or what I wanted to do wasremote/test
to be the same aslocal/mine
because otherwise I need to make a symlinkremote/test
=remote/mine
and use the function withlocal/mine
toremote
to finally getremote/test
to contain the file fromlocal/mine
. Sounds confusing, hope it is clear xD