Topic "Differing File Sizes"

Author Message
curious client

Guest


In each instance, the transferred file is smaller than the original...often by only a few bytes and in certain cases by a significantly larger number. This is holding true with ASCII, Binary and automatic transfers using SFTP mode.
What am I not doing that I should be doing?
Thanks for your help...
cc
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
What version of WinSCP are you using (have you tried the latest one)? Does the same thing happen with SCP? Does it happen in both directions (upload/download). When you transfer file back is original size restored? Also log file can be useful. Thanks.
_________________
Martin Prikryl
curious client

Guest


prikryl wrote:
What version of WinSCP are you using (have you tried the latest one)? Does the same thing happen with SCP? Does it happen in both directions (upload/download). When you transfer file back is original size restored? Also log file can be useful. Thanks.


I really appreciate your swift reply. I'm using the latest download - SCP3 - on Windows 98 . I began using it 08-29-03. I'm familiar only with SFTP transfers, so no, I haven't tried anything in SCP. In fact, I'm not entirely certain what the differences between the two are. When I reverse the transfer...(download my upload, if you will) the file size appears to return to its orginal size.
The pages I've transferred all seem to be behaving correctly on the site, so I'm wondering why I'm not seeing matching sizes after transfer and...naturally...what I can do to syncronize my file sizes.

Thanks again for all of your help!
-cc-
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
What you describe seems exacly like ASCII (text) transfer. File size differs because the end-of-line sequence on Windows is two characters (bytes) long, while the UNIX uses only one character (byte). So during upload, a file should get smaller and vice versa.

However, in you first post, you referring to Binary transfers as well. Please check if this happens also with this type of transfer. It should not. And I would bet that it does not.
_________________
Martin Prikryl
Guest




prikryl wrote:
What you describe seems exacly like ASCII (text) transfer. File size differs because the end-of-line sequence on Windows is two characters (bytes) long, while the UNIX uses only one character (byte). So during upload, a file should get smaller and vice versa.

However, in you first post, you referring to Binary transfers as well. Please check if this happens also with this type of transfer. It should not. And I would bet that it does not.


That's why you make the big money, Martin! I have used a number of FTP applications and have never witnessed the bigger/smaller file differential before.
WinSCP is modestly different than those and it is to be expected that certain aspects of its use would be different, as well.
I appreciate your assistance and straight forward explanations - PLUS - you are absolutely right about the Binary transfers...same size on both sides of the connection.I should have checked my stats my closely before including the Binary transfer issue.
Thank you so much for your help.
-cc-
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Quote:
That's why you make the big money, Martin! I have used a number of FTP applications and have never witnessed the bigger/smaller file differential before.
WinSCP is modestly different than those and it is to be expected that certain aspects of its use would be different, as well.

With FTP, the file size changes too for ASCII (text) mode.
_________________
Martin Prikryl
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