IETF-SSH archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: copy-data



Copying to end-of-file with a single request should be permitted, though. No need to force many packets for the copying process.

On Wed, 18 Jan 2006 01:16:32 +0100, denis bider wrote:
>>> Are there any restrictions on "copy-data"?  How are the offsets
>>>
>>> treated when the file is opened for text transfers?
>>>
>> I believe, since this is a local-to-local copy operation,
>> we should forbid the files to be opened for text transfer--
>>
> No... it's simpler than that.
>
> The copy-data request is a shortcut for read followed by write,
> just without the data transmission. The server should internally do
> the same thing that would happen if one did a "read" from the
> source, followed by a "write" of the same data that "read" would
> transmit on the wire. No need to prohibit or dictate anything with
> regard to how the two file handles were opened.



Home | Main Index | Thread Index | Old Index