---------------------------------------------------------------------- Return values ---------------------------------------------------------------------- o Set errors The following functions return Set error codes: FtpSetUser FtpSetBinary The return code is 1 if the string passed in are valid, 0 if not. FtpSetBinary() should be passed an abbreviation of "BINARY" or "ASCII" (thus, "b", "as", "BIN", etc). o FTP errors The rest of the functions (all the functions but the Set functions) return ftp error conditions. It will have one of the following values (or a numeric value if the number isn't one of these documented values): "0" - successful call "-1" - Error during FTP function call If the function returns a "-1" for a return code, the variable FTPERRNO will be set to one of the following values: "FTPSERVICE" - unknown service "FTPHOST" - unknown host "FTPSOCKET" - unable to obtain socket "FTPCONNECT" - unable to connect to server "FTPLOGIN" - login failed "FTPABORT" - transfer aborted "FTPLOCALFILE" - problem openning local file "FTPDATACONN" - problem initializing data connection "FTPCOMMAND" - command failed "FTPPROXYTHIRD" - proxy server does not support third party transfers "FTPNOPRIMARY" - no primary connection for proxy transfer ---------------------------------------------------------------------- Functions Reference ---------------------------------------------------------------------- ------------------------------------------------------------------- FtpLoadFuncs ------------------------------------------------------------------- rc = FtpLoadFuncs(quiet) Loads all the functions in the rxFtp package. If ANY parameters are passed to this function, it will bypass the program/author/copyright information normally displayed. All parameters are ignored (except to determine whether or not to bypass displaying the information). ------------------------------------------------------------------- FtpDropFuncs ------------------------------------------------------------------- rc = FtpDropFuncs() Drops all the functions in the rxFtp package. ------------------------------------------------------------------- FtpVersion ------------------------------------------------------------------- rc = FtpVersion(variable) Returns the version of RxFtp that you are running in the variable "variable".