Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

I do not understand. In mget %%txt%, the % does not have any special meaning. It is just a part of the file name. So, in WinSCP, there's no change. Just use
get %%txt%

(Unless you have set an environment variable txt, which would expand in the script, breaking the filename)
Santhosh Kumar S

Hi Martin,
Please help me to convert the mget %%txt% into WinSCP script.
I didn't find a replacement for the double %% and single % symbol for Winscp.

Thanks
Santhosh
martin

Re: Help me to convert the ftp script to WinSCP script

I do not understand what does your two user commands do. What ftp are you using? Is it the Windows one? Can you post its verbose log file?
Santhosh Kumar S

Help me to convert the ftp script to WinSCP script

Help me to convert the FTP script to WinSCP script. I have provided the FTP scripts in the FTP script file below. In the script, there are two authentications to connect the server.
open xyz.com

user 123 abc
user "abcd 12345" YYYYY
get %ERR Errors.txt
lcd C:\path\
prompt
binary
ls
prompt n
mget %%txt%
ls
disconnect