Chapter 18. TCP/IP
425
18.4.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 appropriate
FTP.FN3 extension functions.
(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 extension functions 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
SOCKET.FN3 provides functions #8 and #9 for reading and changing these settings. For fur-
ther details on these two functions, see their descriptions in Section 18.6, "FTP Library
(FTP.FN3)," Subsection 18.6.2.
Commentaires sur ces manuels