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

RickB

Yes you can

cmd /c winscp3.com /command "open user@host" "ls" > foo.txt

Obviously winscp3 has to be in your PATH and change user@host to the correct saved session name
xpressive

Scripting - get list of files at remote computer

Hi all,

I am using WinSCP within a windows batch-file.

What I want to do is to create a file on my local computer through WinSCP.
This file should contain an overview of all files located at the remote computer.

Is that possible ?

Thanks in advance