Upload - Overwrite if file size is larger than file

Advertisement

lu
Joined:
Posts:
2
Location:
Canada

Upload - Overwrite if file size is larger than file

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Re: Upload - Overwrite if file size is larger than file

There's no such option. But you can synchronize files based on their size.

Reply with quote

lu

Re: Upload - Overwrite if file size is larger than file

[quote="prikryl"]There's no such option. But you can synchronize files based on their size.[/quote]

Thanks, that did the trick.

Reply with quote

Advertisement

You can post new topics in this forum