Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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.


Comment on Re: Net::SFTP atomic updates?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2014-12-26 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls