Re: Error checking in sftp

From: all mail refused (elvis_at_notatla.org.uk)
Date: 09/22/04

  • Next message: Jacob Nevins: "Re: how to backchannel passthrough printing?"
    Date: 22 Sep 2004 21:05:46 GMT
    
    

    In article <2w94d.10813$g%5.134921@news2.e.nsc.no>, Stein Arne Storslett wrote:

    >With sftp it's a different story. There seems to be no standard error
    >messages between serveres, and provoking all types of errors will be to
    >time consuming and to insecure.
    >
    >I am aware that sftp will abort on cd, rm and get if you use a batch
    >file. But that's just not good enough. I need to trap any errors.
    >
    >What I've done is that I do only one file transfer at a time, and I
    >compare the filesize on the local and remote file after the transfer has
    >finished.
    >
    >What have other people done?

    It might be simplest to write an entire file transfer protocol
    and implementation and just run it over SSH. I do this in a couple
    of places. My retrieval of significant logs fragments from my
    webserver is a protocol similar to POP3 for instance. What do
    you need beside a single connection with both command and data modes
    and some keeping of state at the ends ?

    -- 
    Elvis Notargiacomo  master AT barefaced DOT cheek
    http://www.notatla.org.uk/goen/
        My energy-saving light bulb caught fire.  Now I know
        the NSA are beaming microwaves at my flat.
    

  • Next message: Jacob Nevins: "Re: how to backchannel passthrough printing?"

    Relevant Pages

    • Re: Error checking in sftp
      ... >>With sftp it's a different story. ... >>time consuming and to insecure. ... >>What I've done is that I do only one file transfer at a time, ... variety of hosts ). ...
      (comp.security.ssh)
    • Re: Im giving up computers if this is the future.
      ... I used to use the Reflection file transfer protocol (its been a few ... I hate this shite more and more and more everyday because ... > has infiltrated customer environments and I have to debug software ...
      (comp.os.vms)