Re: Error checking in sftp
From: all mail refused (elvis_at_notatla.org.uk)
Date: 09/22/04
- Previous message: Jacob Nevins: "Re: Window Title"
- In reply to: Stein Arne Storslett: "Error checking in sftp"
- Next in thread: Stein Arne Storslett: "Re: Error checking in sftp"
- Reply: Stein Arne Storslett: "Re: Error checking in sftp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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.
- Previous message: Jacob Nevins: "Re: Window Title"
- In reply to: Stein Arne Storslett: "Error checking in sftp"
- Next in thread: Stein Arne Storslett: "Re: Error checking in sftp"
- Reply: Stein Arne Storslett: "Re: Error checking in sftp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|