Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 7 Oct 2002 17:34:57 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: teodoro DOT merlini AT tin DOT it cc: cygwin AT cygwin DOT com Subject: Re: Re: date/time preserving in file transfer In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Teodoro, The Reply-To: field is intended to direct the replies at that address instead of the From: address. In my email it was (and is now) set to the cygwin list. Please kindly keep your replies there. If your mailer ignores the Reply-To: field, then maybe it's time to switch to a new mailer. To answer your query, no, it's not very much clearer to me (although someone else on the list may be of help, which is why it's good to keep these sorts of discussions on-list. I could venture a guess that 'SSH Secure File Transfer' means sftp, and that you're using two different servers on the two machines. In this case, it seems that you have some differences in the configurations of the two ssh servers. Why not try using 'scp', which is the secure equivalent of the Unix 'cp' command? It uses the same options, in particular, the '-p' option which preserves dates and times of the transfered files. If 'scp' is not able to do what you need, then you probably have some serious problems with the sshd configuration, which others on this list might be able to help you solve. If scp is able to preserve dates and times, then you simply need to find what part of the default configuration for sshd is responsible for that, and change it accordingly. To reiterate, please keep your replies on the list. This allows other people to join the discussion and offer useful opinions. There is also no need to Cc: me, as I'll get all the messages going to the list anyway. Good luck, Igor On Mon, 7 Oct 2002, Teodoro Merlini wrote: > My kind Igor Pechtchanski, > no, I'm not copying using 'scp', instead I feel comfortable working as a > client from Windows with 'SSH Secure File Transfer' by SSH Communications > Security Corp.. Now, I'm communicating from my house with two computers as > servers, both running Windows2000. The one with 'Cygwin sshd' running does > not preserve date/time in a file copy towards the server. The other > (Windows2000Server) running 'SSH Secure Shell for Windows Servers' does > preserve the date/time. Both preserve date/time in a file transfer from the > server to my PC. I hope the question be now clear. > > Thanks again for your help > > T. Merlini > > ----- Original Message ----- > From: "Igor Pechtchanski" > To: > Cc: > Sent: Monday, October 07, 2002 4:06 AM > Subject: Re: date/time preserving in file transfer > > > > On Sun, 6 Oct 2002, Teodoro Merlini wrote: > > > > > I'm asking you if it would be possible to preserve the file date/time during > > > uploads on a WindowsNT/2000 platform with Cygwin sshd running. If not, it > > > would be a very appreciated improvement for a future version to make it > > > possible. > > > > > > Thanks for your help > > > T. Merlini > > > teodoro DOT merlini AT tin DOT it > > > > Teodoro, > > > > What do you mean by "uploads"? If you mean copying using 'scp', then look > > at the scp man page, in particular the '-p' option. Otherwise, you'll > > have to ask a more specific question. > > Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/