
424
17.6 FTP Library (FTP.FN3)
17.6.1 Overview
■ String Variables
The following are the string variables used by this library together with their memory
requirements.
Description Variable name Size in bytes
Server IP address
SERV.IP
15
Login user name
USERNAME$
0 to 16
Login password
PASSWORD$
0 to 16
Directory names
CURDIR$
NEWDIR$
0 to 255
0 to 255
File names
SERV.FNAME$ CLNT.
FNAME$ OLD.FNAME$
NEW.FNAME$
0 to 12
0 to 12
0 to 12
0 to 12
Field lengths
FLD$
1 to 64 (48)
FTP parameter
FTP.PARA
Function Number
Description
FTP
Commands
.fcFTPOpnS
1
Open FTP client session with system settings USER/PASS
.fcFTPOpnU
2
Open FTP client session with user settings USER/PASS
.fcFTPClos
3
Close FTP client session ---
.fcPWD
4
Get current directory on FTP server PWD
.fcCWD
5
Change current directory on FTP server CWD
.fcRETR
6
Download file from FTP server RETR
.fcSTOR
7
Upload file to FTP server STOR/APPE
.fcFSysGet
8
Get FTP system settings ---
.fcFSysSet
9
Change FTP system settings ---
.fcRNFR
10
Change file name on FTP server RNFR/RNTO
.fcPORT
11
Set port number for file transfer PORT
.fcDELE
12
Delete file from FTP server DELE
Refer to also the run-time errors for the FTP.FN3 library.
Comentarios a estos manuales