Avatar of sunhux
sunhux

asked on 

Does winscp has checksum feature?

Previously when we transferred a 20GB gz  Solaris file down to PC's
local HDD & then from the local PC HDD, transfer to a USB HDD, our
DLP corrupted the gz file when it's transferred from local HDD to USB

We have since resolve that but to prevent untoward corruption in
future for copying of critical files to USB HDD,

Q1:
Does Winscp has checksum feature that checks at Unix end & at
PC end?

Q2:
If so I would rather use Winscp to transfer directly to USB HDD.
EncryptionSoftwareSSH / Telnet SoftwareLinux Networking

Avatar of undefined
Last Comment
noci
Avatar of sunhux
sunhux

ASKER

> If so I would rather use Winscp to transfer directly to USB HDD.
ie transfer from Unix server directly to USB HDD
SOLUTION
Avatar of ste5an
ste5an
Flag of Germany image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
Avatar of noci
noci

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of sunhux
sunhux

ASKER

> It's not about the specific client, it's about the used protocol
Was told by my ex-colleagues in the bank that they had encountered
corruption when transferring using sftp or scp (betwn AS400 & Unix)
thus ConnectDirect was the preferred tool to do transfer as it has
checksumming specifically.

ConnectDirect will not save the file if the link is interrupted but would
sftp/scp save the file if transfer is interrupted?


One last question:
in Winscp, the "Transfer Settings" is usually set as "Default" : under
what circumstances will it use Binary or ASCII ?  My Unix ex-colleagues
had seen cases when it used Binary & sometimes Ascii for "Default"
Avatar of noci
noci

AS 400 stores file differently... from UNIX. WinSCP always uses binary.
so the corruption is a difference of opnion of fileformats.

unless FTP is used then ascii may be chosen... FTP publishes passwords though.

Checksumming tools will not help either as both ends of the connection have a different opnionion on what constirutes a valid file format.
Avatar of sunhux
sunhux

ASKER

The sftp file corruption with AS400 is not a matter of file format but  missing
lines/records.  We'll leave this aside.

Will take it that winscp has checksumming feature: it can even resume a
transfer from where it was last disrupted.



To close this thread, need an answer for one last question:

in Winscp, the "Transfer Settings" is usually set as "Default" : under
what circumstances will it use Binary or ASCII ?  My Unix ex-colleagues
had seen cases when it used Binary & sometimes Ascii for "Default"
Avatar of noci
noci

With: Binary bytes are transfered as is... blocks of bytes.
Ascii transfers will convert files in records ending in CR/LF during transfer.  (chr(13), chr(10))

On unix -> unix the difference is moot, to other systems it may be relevant.
On unix a text file is  any file which which uses LF character  (chr(10))  and and of line character.

FTP transfers (port 21) does know this difference. SCP transfers (port 22) don't have this difference.
Resume is not based on checksum, it asks the remote how long the file is and then starts sending
from that point on.
Avatar of sunhux
sunhux

ASKER

There are occasions the "Transfer Setting" of Default will use Ascii
& sometimes Binary   as encountered by my ex-colleagues.

So does Winscp detect by the extension of the file eg: .txt will auto
default to Ascii  while  .bin  or  .zip   or .gz will default to  Binary?
ASKER CERTIFIED SOLUTION
Avatar of noci
noci

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Software
Software

Software is any set of instructions that directs a computer to perform specific tasks or operations. Computer software consists of programs, libraries and related non-executable data (such as documentation). Computer software is non-tangible, contrasted with computer hardware, which is the physical component of computers. Software written in a machine language is known as "machine code". However, in practice, software is usually written in high-level programming languages than machine language. High-level languages are translated into machine language using a compiler or interpreter or a combination of the two.

43K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo