Topic "CalculateFileChecksum is not supported in version 5.6.4 RC?"

Author Message
Chau
[View user's profile]

Joined: 2015-01-13
Posts: 4
Location: VietNam, HoChiMinh City
Hi prikryl,
I use the code:
Code:
session.CalculateFileChecksum("md5", @"/home/Myftp/ftp_test/file1.txt");

And the result I got from the log is:
Code:
> 2015-01-13 15:25:58.521 Script: checksum -- "md5" "/home/Myftp/ftp_test/file1.txt"
< 2015-01-13 15:25:58.521 Script: Operation not supported.

I used Winscp.exe and Winscpnet.dll version 5.6.4 RC[/code]
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24538
Location: Prague, Czechia
The error means that your server does not support the checksum.
See http://winscp.net/eng/docs/protocols
_________________
Martin Prikryl
Chau
[View user's profile]

Joined: 2015-01-13
Posts: 4
Location: VietNam, HoChiMinh City
My server is running with SFTP protocols Sad
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24538
Location: Prague, Czechia
And most SFTP servers (OpenSSH in particular) does not support it.
Chau
[View user's profile]

Joined: 2015-01-13
Posts: 4
Location: VietNam, HoChiMinh City
Thanks for your information
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