IETF-SSH archive

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

Re: solving the SFTP text mode issue



On Fri, 10 May 2002, Wei Dai wrote:

> Here's another simple suggestion for your consideration. Define a new
> pflags flag for SSH_FXP_OPEN:
> 
>    	#define SSH_FXF_TEXT            0x00000040
> 
> It would have the following meaning:
> 
>    SSH_FXF_TEXT
>       File SHOULD be encoded as UTF-8 using either CR, LF, or CR/LF to 
>       indicate line end, or converted to this encoding before transfer. 
>       File access MUST be sequential.

The server should return an error if this is not supported, rather than
silently failing.

-d




Home | Main Index | Thread Index | Old Index