read variable from called remote script and use in winscp sc

Advertisement

Holly Glaser
Joined:
Posts:
6
Location:
Seattle

read variable from called remote script and use in winscp sc

Hi,
I have a script that
1. Calls a remote python program that makes a new folder structure named by month and year.
2. Loads local files into the new directory.

Is there a way to deliver the new directory path to winscp and use it as the remote directory to which local files are loaded?

or
create a string in winscp using month year ex.(base string + MMYYYY)and using that as the remote directory
or
an elegant way that eludes me

This is the last bit of the puzzle and TIA for your time
Holly :)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: read variable from called remote script and use in winscp sc

Holly Glaser wrote:

Is there a way to deliver the new directory path to winscp and use it as the remote directory to which local files are loaded?
This request is being tracked already.

create a string in winscp using month year ex.(base string + MMYYYY)and using that as the remote directory
No.

Please read documentation for hint.

Reply with quote

Advertisement

You can post new topics in this forum