Topic ".cgi file cut problem"

Author Message

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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
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

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

mfg Eric

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License