Topic "file dates comprision before copying"

Author Message
WY2k

Guest


Hi.

I think you should consider adding another useful option to the COPY dialog. "Copy src files older than dest files only".

Sometimes , when I update website files (and subdirectories) I don't want to copy them all, I just want to copy files which have been changed since last update.

It will make our (webmasters) life much easier Smile

WY2k.
Advertisements
Guest




I endorse that. Except perhaps for the meaning of 'older'. It is clear from the context that the writer meant changed more recently = 'younger' rather than 'older'.

A further useful addition re keeping a whole web site in sync would be to add an option to 'Keep remote directory up to date' to include sub-directories.

But in general WinSCP is great - thank you.

David Hartley
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
With SCP protocol your wish can be hardly implemented. I'm currently working on SFTP support. I can imagine that with SFTP it can be done.
_________________
Martin Prikryl
WY2k

Guest


prikryl wrote:
With SCP protocol your wish can be hardly implemented. I'm currently working on SFTP support. I can imagine that with SFTP it can be done.


Isn't it possible to read each (sub)dir's contents before copying, in order to get dest file timestamp?
Once winSCP has this information (about file modification timestamps) it can copy only files wihich are NEWER than source files.

To sum things up - can WinSCP get destination file timestamps before copying ?
I assume it can't - otherwise it would be very simple (I guess) to implement such useful feature in future WinSCP release.

Still, WinSCP is very powerful and useful application Smile

WY2k.
Guest




I thought the time information was already available,
since it is shown in the panel (as a result of the ls command).

But well, maybe there are some tricky parts which I'm unaware of that make it hard to implement.
Maybe you could ask the totalcmd-author how he implented it (for general copy, ftp, and with a plugin for sftp)

keep up the good work,
thanks a lot,
Peter Lewyllie
peter_at_lewyllie_dot_com
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