Re: Simple VBScript syntax error?
It's really an unnecessary mess with all those " and &.
Anyway, you are definitely missing a space between the "open transfer ascii" and "open..." commands as well as between "open..." and "get...".
Also consider using WinSCP .NET assembly. Either via COM from VBScript or, if you do not need VBscript, using PowerShell instead:
https://winscp.net/eng/docs/library_com_wsh
https://winscp.net/eng/docs/library_powershell
Anyway, you are definitely missing a space between the "open transfer ascii" and "open..." commands as well as between "open..." and "get...".
Also consider using WinSCP .NET assembly. Either via COM from VBScript or, if you do not need VBscript, using PowerShell instead:
https://winscp.net/eng/docs/library_com_wsh
https://winscp.net/eng/docs/library_powershell