VISUAL PAYMENTS
XFTP Commands
274 M
X
800 SERIES PROGRAMMERS GUIDE
XFTP
Commands
The succeeding sections lists all XFTP commands.
XFTPGET
• Required fields are: FTPHOST, FTPPORT, FTPUSER, FTPPWD, FILENAME,
FILETYPE.
• System Mode will act only on FILETYPE OS and APP.
• The FILENAME is in reference to the VP server, and may contain a directory
path.
• The file will be transferred to the directory defined in the *VPDOWNLOADDIR
environment variable. If not defined, it defaults to “/home/usr1”.
• The application is responsible for the processing of the transferred file.
XFTPPUT
• Required fields are: FTPHOST, FTPPORT, FTPUSER, FTPPWD, FILENAME.
• The FILENAME is in reference to the local file, and may contain a directory
path.
• The VP server application currently will only upload diagnostic log files.
XFTPDEL
• Required fields is: FILENAME.
• The FILENAME is in reference to the local file, and may contain a directory
path.
• The application has a chance to disallow the request in the fnDownReq()
callback.
• For root owned files, only those in the “/var/log” directory may be deleted
by the XFTPDEL command.
• The VP server application currently will only upload diagnostic log files.