beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 61

background image

A

DVANCED

C

OMMUNICATIONS

C

ONFIGURING THE

FTP

S

ERVER

R

EVISION

1

P

AGE

45

The Log synchronization becomes available and the following settings can be entered.

The Base Directory defines the directory on the server where the log files will be

synchronized. This directory is relative to the folder settings given in the FTP
server. For example, if the FTP server is programmed to save any FTP
connection under C:\inetpub\ftproot and the Base Directory in Fieldbus Gateway
Manager is \MyFolder, then all log files will be saved under
C:\inetpub\ftproot\MyFolder. The Gateway will duplicate the folder tree present
on the CompactFlash card in the Base Directory so data remains in the same
order.

The Sync Period is the frequency at which the terminal will synchronize file

transfers.

The Sync Delay is the offset in minutes past the hour between file transfers. Use

this property to allow multiple terminals’ file transfers to be offset to avoid
collisions.

A

DVANCED

FTP

E

XCHANGE

F

UNCTIONS

Please refer to Appendix A later in this manual for details on the

FtpPutFile()

and

FtpGetFile()

functions. The second function is useful when you plan to load a file from the

server to the CompactFlash card. Automatic logging only transfers from the CompactFlash
card to the server.

C

ONFIGURING THE

FTP

S

ERVER

Fieldbus Gateway Manager’s FTP Server provides a mean to exchange files between a
Gateway and an FTP client application. The Gateway will act as a server, waiting for client
applications to connect and download or upload files.

For example, a user can connect to a Gateway using an FTP client software and download log
files from the CompactFlash card to the PC hard drive. On the other hand, he could upload
new recipe files or updated HTML files for the custom web site from the PC hard drive to the
Gateway CompactFlash card.