Storing relative vs full paths during a sync operation
Hi,
I'm just starting to work with scripting and tried the synchronize local command. That worked very nicely. The only issue I had was the remote server drops me into a folder structure several levels deep and apparently WinSCP was aware of the full path. I need only the relative paths stored on the local side. Is there a way to specify that?
Example:
local workstation: c:\local\
remote ftp server home directory: /home/users/ben/downloads
Resulting files:
c:\local\home\users\ben\downloads\<file a>
c:\local\home\users\ben\downloads\<file b>
etc.
Desired local file path:
c:\local\<file a> etc.
It isn't a show-stopper as I can move the files/folders after the fact, but would prefer not to.
Thanks!
--Ben
I'm just starting to work with scripting and tried the synchronize local command. That worked very nicely. The only issue I had was the remote server drops me into a folder structure several levels deep and apparently WinSCP was aware of the full path. I need only the relative paths stored on the local side. Is there a way to specify that?
Example:
local workstation: c:\local\
remote ftp server home directory: /home/users/ben/downloads
Resulting files:
c:\local\home\users\ben\downloads\<file a>
c:\local\home\users\ben\downloads\<file b>
etc.
Desired local file path:
c:\local\<file a> etc.
It isn't a show-stopper as I can move the files/folders after the fact, but would prefer not to.
Thanks!
--Ben