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

Author Message
xpressive
[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
RickB

Guest


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
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License