Topic "Winscp Scripting with variables"

Author Message


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.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27082
Location: Prague, Czechia
It is on TODO list. However you should be able to easily generate the script using some scripting language.
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License