file dates comprision before copying

Advertisement

WY2k
Guest

file dates comprision before copying

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 :)

WY2k.

Reply with quote

Advertisement

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,285
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

Reply with quote

WY2k
Guest

Copy NEWER files only.

martin 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 :)

WY2k.

Reply with quote

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

Reply with quote

Advertisement

You can post new topics in this forum