Topic "Upload - Overwrite if file size is larger than file"

Author Message
lu
[View user's profile]

Joined: 2010-07-28
Posts: 2
Location: Canada
Hello, I am using version 4.2.5 to upload files to an ftp site.

Is it possible to overwrite files only if the file size is different than the filesize currently on the server? When the box asking if I want to overwrite comes up I do not see an option for this.

Example

local file = myfile.txt (size 20kb)
server file = myfile.txt (size 100kb)

if size(local file) != size(server file)
overwrite server file with local file
else
do not overwrite
end


Thanks in advance!

LU
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
There's no such option. But you can synchronize files based on their size.
_________________
Martin Prikryl
lu
[View user's profile]

Joined: 2010-07-28
Posts: 2
Location: Canada
[quote="prikryl"]There's no such option. But you can synchronize files based on their size.[/quote]

Thanks, that did the trick.
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