Topic "Scripting - get list of files at remote computer"

Author Message
[View user's profile]

Joined: 2006-12-07
Posts: 1
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


cmd /c /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

You can post new topics in this forum

Search Site

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