Denso Power Net Terminal BHT-7500 Dokumentacja Strona 467

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 560
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 466
458
CRLF.MODE% Treatment of line delimiters inside records and trailing
spaces in fields
Note:
CRLF.MODE% will be ignored for files except
data files.
FLD$ Field lengths in bytes. Delimit the field length specifi-
cations with commas (,) or semicolons (;). (This
parameter applies only to downloaded data files.)
"<field length 1> [,<field length 2>,... <field length n>]"
(n=1 to 16, field length = 1 to 254)
DISP.MODE% Flag controlling a progress display consisting of an 8-
digit number giving the number of bytes transferred
Return value:
REPLY% Server response to FTP command
Example: Downloading a data file
SERV.FNAME$ = "MASTER.DAT" File name on server
CLNT.FNAME$ = "" Name for file on the handy terminal
Same as on server
CRLF.TYPE% = 1 Server line delimiter: LF
CRLF.MODE% = 0 Data composition
There are no line delimiters in the data.
FLD$ = "3, 2, 1" Field lengths: 3, 2, 1
CALL "FTP.FN3" 6 FTPHANDLE%, SERV.FNAME$, CLNT.FNAME$, CRLF.TYPE%, _
CRLF.MODE%, REPLY%, FLD$
Example: Downloading a program file, with progress display
SERV.FNAME$ = "SAMPLE.PD3" File name on server
CLNT.FNAME$ = "" Name for file on the handy terminal
Same as on server
CRLF.TYPE% = 0 Server
line
delimiter:
CR-LF
combination
CRLF.MODE% = 0 Data
composition:
Will be ignored for
files except data files
DISP.MODE% = 1 Enable progress display
CALL "FTP.FN3" 6 FTPHANDLE%, SERV.FNAME$, CLNT.FNAME$, CRLF.TYPE%, _
CRLF.MODE%, REPLY%, DISP.MODE%
0 Treat line delimiters inside records as SEPARATORS.
TRIM trailing spaces in fields.
1 Treat line delimiters inside records as DATA.
TRIM trailing spaces in fields.
10 Treat line delimiters inside records as SEPARATORS.
RETAIN trailing spaces in fields.
11 Treat line delimiters inside records as DATA.
RETAIN trailing spaces in fields.
0Disable
1 Enable
Przeglądanie stron 466
1 2 ... 462 463 464 465 466 467 468 469 470 471 472 ... 559 560

Komentarze do niniejszej Instrukcji

Brak uwag