Topic ".cgi file cut problem"

Author Message
Guest




hi m8s

I have a funny problem when copying files with .cgi extension to a RH 7.2 box, because the xxx.cgi files are becoming smaller, about 230 bytes at filesize 38Kbytes and about 40 bytes at filesize of 600 bytes ??

best regards, Eric
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
CGI files are by default transfered using 'text' (or ASCII) mode. In this case the size usually change. Note that no information is lost. Anyway if you want to avoid this, force 'binary' mode on copy confirmation dialog. You may check 'use same settings next time' to force the setting forever.
_________________
Martin Prikryl
Guest




Thanx a lot.
The CGIs I transferred were compiled C-code and thereby binary.

mfg Eric
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