Re: Error checking in sftp
From: Stein Arne Storslett (sastorsl_at_THOU.SHALT.NOT.SPAM.online.no)
Date: 09/24/04
- Next message: Simon Tatham: "Re: PuTTY Compile error"
- Previous message: Aldrich: "rsync with plink does not work"
- In reply to: all mail refused: "Re: Error checking in sftp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 24 Sep 2004 07:50:54 GMT
<elvis@notatla.org.uk> wrote in <slrncl3q2r.2sb.elvis@notatla.org.uk>:
> 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 ?
Writing a new software is a bit out of reach for me.
Besides, this is going to run on a variety of hosts and _against_ a
variety of hosts (both Unix of various types and Windows(...)).
This means that I in some cases are restricted to _only_ sftp.
-- Stein Arne
- Next message: Simon Tatham: "Re: PuTTY Compile error"
- Previous message: Aldrich: "rsync with plink does not work"
- In reply to: all mail refused: "Re: Error checking in sftp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|