Topic "Different size of files"

Author Message


Hi there,

just a little question:
Why do I see 2 different sizes of my files. For Example:
Local: test.php 4.193 bytes
Remote: test.php 4.079 bytes

Its the same file, but different sizes - can someone explain me please?
And it would be perfect, if someone could tell me what do I have to change to see the same size on local AND remote.

Kind regards

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
PHP files are by default transfered using 'text' (or ASCII) mode. In this case the size usually change. Note that as long as the file is plain-text (what PHP is) no information is lost, it is just a change in format. 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. However for some file types the conversion is necessary as some unix application require that the files are converted. I believe that PHP can handle both formats on both platforms.
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License