Topic "Dir listing and MD5 checksums - command line interface"

Author Message
CHARLES29020

Guest


Hello,

I have two questions. I am using the WinSCP.com utility to automate file transfers. I would also like to use it to get directory listings (directory structure) of the remote locations saved back to the client computer as a text file or as XML, is this possible?

Is it possible to generate a MD5 checksum of files on the client computer and the remote computer (host) computer and save the MD5 checksums as text or XML?

I know that I can generate both from the graphical client (WinSCP.exe) but could not find information in the documentation about doing these things using the command line interface (WinSCP.com).

Thanks,

Charles
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
CHARLES29020 wrote:
I have two questions. I am using the WinSCP.com utility to automate file transfers. I would also like to use it to get directory listings (directory structure) of the remote locations saved back to the client computer as a text file or as XML, is this possible?

You can use "ls" command with XML logging
http://winscp.net/eng/docs/scriptcommand_ls
http://winscp.net/eng/docs/logging_xml

Or use .NET assembly to collect structure and save it to a file:
http://winscp.net/eng/docs/library_session_listdirectory

Quote:
Is it possible to generate a MD5 checksum of files on the client computer and the remote computer (host) computer and save the MD5 checksums as text or XML?

No. Actually even in the GUI you are limited to servers that support generating MD5 and there are only few.
_________________
Martin Prikryl
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