IETF-SSH archive

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

copy-data



>> 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