Winscp Scripting with variables

Advertisement

Quindel
Guest

Winscp Scripting with variables

Would it be possible to have the scripting work with variables? I'd like to define all my directories at the top of the script file so I don't need to have someone scan the script and edit/change the directories manually or do the ftp outside of the script. It would be nice to define them in variables at the top and then pull in the variable names into the cd and lcd commands, etc. Set them using the set command or something.

Thank you.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,123
Location:
Prague, Czechia

Re: Winscp Scripting with variables

It is on TODO list. However you should be able to easily generate the script using some scripting language.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum