Hi,
Is it the client or the servers job to perform CRLF <--> LF substitution when
transfering text files between Windows and Unix platforms?
Many thanks,
Duncan.
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
I think they are doing it both and the protocol always uses LF to
indicate end of line. Can someone confirm this?
What I would like to known is what (standard) C library function does
the trick?
Regards
Stephan
--
More accurately
Duncan Sommerville wrote:
>
> Hi,
>
> Is it the client
Stephan Feder writes:
>
> What I would like to known is what (standard) C library function does
> the trick?
All of the standard I/O functions are responsible for mapping between
the C stream format with line terminators and whatever the host
file format is when the file is opened in text mode
Duncan Sommerville writes:
>
> Is it the client or the servers job to perform CRLF <--> LF
> substitution when transfering text files between Windows and Unix
> platforms?
The client/server protocol specifies that files are to be transferred in
a canonical format, so it is the client's job to tr