cozsftp client 1.8.0 seems to ignore -p or -P (preserve)

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
Jeno
Posts: 23
Joined: Wed Oct 03, 2007 5:28 am

cozsftp client 1.8.0 seems to ignore -p or -P (preserve)

Post by Jeno »

Hello, I do not seem to be able to preserve the file timestamp on the get command.

Code: Select all

get -p <filename>
cozsftp seems just to ignore the _preserve_ option, both -p and -P, while IBM sftp honores it, just as the linux version of opensssh:sftp v5.5 also accepts it.

Additional question: should it be possible, for compatibility reasons, to add command 'ascii' as an alias to 'mode=text' ?

TIA and best regards
Jenoe
dovetail
Site Admin
Posts: 2025
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

Jeno,

Are you referring to the Co:Z sftp client or the server?
Jeno
Posts: 23
Joined: Wed Oct 03, 2007 5:28 am

Post by Jeno »

Hello, sorry for the late answer.
It is the Co:Z sftp client.
dovetail
Site Admin
Posts: 2025
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

Jeno,

Thanks. I was able to reproduce the problem with "-p"... we'll look into this further, but there appears to be a bug.

Re: "ascii" and "binary" aliases. See this post for more information:
http://dovetail.com/forum/viewtopic.php?t=1106
Post Reply