| United States-English |
|
|
|
![]() |
HP 9000 Networking: HP FTAM/9000 Programmer's Guide > Chapter 2 Using HP FTAM/9000General Recommendations |
|
Observe the following recommendations for programming with FTAM:
This section clarifies the meaning of a string, HP-UX line, and FTAM-1 line. When transferring data with low level calls, you must understand FTAM-1 lines. If you are reading or writing local HP-UX files using low level calls, you must understand how to convert between HP-UX lines and FTAM lines. Since HP-UX uses %<LF> to represent new lines, you must convert each %<LF> to the combination %<CR,LF> when writing to FTAM-1 files. For example, if your application reads an HP-UX file and subsequently sends the data as an FTAM-1 file (using low level FTAM calls), you must convert all instances of %<LF> in the data to %<CR,LF> before sending it.
If you did not receive data directly from an FTAM function call and if you are using FTAM low level calls (e.g., ft_sdata()), you must insert %<CR,LF> characters to delimit lines; you will receive them back in ft_rdata() output. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||