Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Net::SFTP atomic updates?

by ctilmes (Priest)
on Feb 03, 2005 at 15:05 UTC ( #427660=note: print w/replies, xml ) Need Help??

in reply to Net::SFTP atomic updates?

Ok, a little more info... I'm using OpenSSH, and the version I am using implements an older version of the SFTP protocol that required it to throw an error when the file you are renaming to already exists (which it does). There has since been a revision to the SFTP protocol spec (draft-ietf-secsh-filexfer-06.txt) that allows you to specify optional flags to the rename command that can force it to atomically rename one file to an already existing file (which is what I want to do.)

Sounds like I am SOL until 1) I get an SFTP server implementing the new spec and 2) Net::SFTP supports the new spec.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://427660]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2016-10-26 10:57 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (340 votes). Check out past polls.