
Chapter 18. TCP/IP
465
18.5.3
Using FTP Client
[ 1 ] Basic Procedure
First, set up for using the FTP client, as necessary, with the following steps. All three are
optional, but the last two are highly recommended for downloads.
(1)
Configure the FTP client with the extension library
FTP.FN3
.
(2)
Use the
FRE
function to check whether there is sufficient free memory available to hold
the downloaded file.
(3)
Use a BHT-BASIC
OUT
statement to optimize the drive.
The rest of the procedure is the same as in Section 18.2, "TCP/IP over Spread Spectrum Sys-
tem." The key step is to use the
FTP.FN3
for the file transfers.
[ 2 ] Configuring FTP Client
The FTP client requires the following information before it can transfer files.
• IP address for server
• Login (user) name for server
• Password for that login (user) name
FTP.FN3
provides functions #8 and #9 for reading and changing these settings. For further
details on these two functions, see their descriptions in Section 18.7, "FTP Library (FTP.FN3),"
Subsection 18.7.2.
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...