Denso Power Net Terminal BHT-7500 Spécifications Page 436

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 560
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 435
Chapter 18. TCP/IP
427
Data Files
Determine MEM from the field lengths and number of records.
BPR = bytes per record = (number of fields) + (sum of field lengths)
RPB = records per block = ROUND_DOWN (4096 ÷ BPR)
MEM = ROUND_UP (records ÷ RPB) × 4096
Example: File with 1000 records with four fields of lengths 13, 12, 6, and 1
BPR = 4 + (13 + 12 + 6 + 1) = 36
RPB = ROUND_UP (4096 ÷ 36) = ROUND_UP (113.778) = 113
MEM = ROUND_UP (1000 ÷ 113) × 4096 = ROUND_UP (8.850) × 4096
= 9 × 4096 = 36,864
[ 4 ] Optimizing Drive (Recommended)
File system delays can sometimes retard file FTP downloads. The surest way to prevent such
delays is to use a BHT-BASIC OUT statement to optimize the drive.
Another reason for recommending this step is that it reduces air time, the period that the wire-
less device is open.
[ 5 ] FTP Transfers
The following is the basic procedure for transferring files with the FTP.FN3 extension func-
tions.
(1) Open an FTP client session with function #1 or #2.
(2) Verify the FTP server current directory with function #4 or #5, if necessary.
(3) Download and upload files with functions #6 and #7.
(4) Close the FTP client session with function #3.
Vue de la page 435
1 2 ... 431 432 433 434 435 436 437 438 439 440 441 ... 559 560

Commentaires sur ces manuels

Pas de commentaire