Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

Re: Automation Script

Can you post a log file for both cases?
Guest

Re: Automation Script

Hello Prikryl,

Thanks for the reply.

The issue here, when I run a batch file which includes the code below, I don't receive any files from "ppasama01" folder, nevertheless I'm not facing any issues if I use the CMD window directly, please let me know comments.

winscp.exe /console /command "option batch on" "open ppasama01:PPAsama01@212.93.199.36" "cd /ppasama01" "get *.txt c:\Bilal\" "exit"

Thanks,
Bilal Alassar
martin

Re: Automation Script

Sorry, I do not understand what is the problem. What does not work? Under what circumstances?
Bilal Alassar

Automation Script

Hello,

Currently we are evaluating WinSCP to automate the process of downloading the files from a specific folder from a public IP, but I'm still not able to resolve the issue, when I execute the command using the cmd, it works perfectly, please find below my code and let me know your response.

winscp.exe /console /command "option batch on" "open ppasama01:PPAsama01@212.93.199.36" "cd /ppasama01" "get *.txt c:\Bilal\" "exit"

My Regards,
Bilal Alassar