Topic "using lls in script give wrong file size for large files"

Author Message
sskillin

Guest


Hello,
When perfomring a lls command in a script, the resulting file sizes are wrong for files above about 2GB. Often the file size shows as a negative number. The ls command shows the correct value, and dir from windows shows the correct value. Do you have an idea of how to get the correct file size when doing lls ? Alternately, is it possible to invoke a local command (!dir for instance)?
Thanks,
Shaun
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Thanks for your post.
This seems to be fixed in 5.0 beta. Can you confirm?
_________________
Martin Prikryl
sskillin
[View user's profile]

Joined: 2012-03-14
Posts: 1
Location: Denver CO
Version 5 beta seems to be working, giving the correct file size when using lls on large files. Are there any other bugs in 5 that should make me hesitate before using this in my scripts?
Thanks Martin,
Shaun
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
I'm not aware of any bugs in 5.0.6 except those listed in the "not released yet" section of version history:
https://winscp.net/eng/docs/history
_________________
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