Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

pscp is a very handful tool if you want to upload files to another server using SSH.

The only problem is that it is not able to detect if the destination file is already updated (based on datetime). I don't want to upload the file again if the file was not changed.

Is there any alternative for pscp that has this feature?

I would prefer a solution that is able to use pageant for authentication.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

It is a bit of a heavy solution but cygwin+rsync would work if you set the environment correctly.

I believe but that cwrsync may work, but I haven't tested it.

share|improve this answer
    
Thanks but I'm looking for just for better scp client not rsync. –  sorin Mar 15 '10 at 14:20
1  
Unfortunately you will probably be looking for a long time. I don't believe such a version of scp exists. –  Zoredache Mar 15 '10 at 16:22
    
especially since rsync includes the ability to use ssh as a transport. –  hometoast Jul 8 '10 at 17:43

You can use WinSCP...

It has an option to sync remote directories: http://winscp.net/eng/docs/task_keep_up_to_date

You can run it as a service if you'd like, to automatically watch your directory...

It's also scriptable: http://winscp.net/eng/docs/scriptcommand_keepuptodate

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.