Specifications
Section 11. Programming Resource Library
11-18
FIGURE 11.2-3. Monitor Web Page Generated By Datalogger Program
11.2.3 FTP Server
The CR1000 automatically runs an FTP server. This allows Windows Explorer
to access the CR1000 file system via FTP, with the “drives” on the CR1000
being mapped into directories or folders. The “root directory” on the CR1000
can include CPU, USR or CRD. USR is a user defined directory that is created
by allocating memory for it in the USRDriveSize field of the Status table. If a
compact flash card is present in the NL115 and the CR1000 program uses the
CardOut instruction in one or more data tables, then the CRD directory will be
mapped.
The files on the CR1000 will be contained in one of these directories. Files can
be pasted and copied to and from the datalogger “drives” as is they were drives
on the PC. Files can also be deleted through FTP.
11.2.4 FTP Client
The CR1000 can act as an FTP Client to send a file or get a file from an FTP
server, such as another datalogger or web camera. This is done using the
CRBASIC FTPClient() instruction. See the NL115 manual or CRBASIC
Editor Help for details and sample programs.