[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

list function from FTPAPI_H



Greetings,

One of the first things I wanted when I started to look at ftpapi
is a list of available functions.  Having screwed up a couple of
attempts to extract the one- or two-line function summaries by
hand from QRPGLESRC(FTPAPI_H), I regularized those summaries and
then extracted them with a cpyf.  Is the result of any interest
to the project?

If I have overlooked existing documentation, this work is of
course useless.  The result is at best crude and ugly; output
attached.  Should it discourage a better solution, it would be
clearly detrimental.

Advice welcome.

Cheers,
Terry.


021100091031*     * FTP_Conn:            Connect and log-in to an FTP server.
023800091031*     * FTP_chdir:           Change directory on FTP server
025300091031*     * FTP_binary:          Set file transfer mode to/from binary mode
026500091031*     * FTP_binaryMode:      Set file transfer mode to/from binary
026504091031      * FTP_binaryMode:      mode
028100091031*     * FTP_LinMod:          Allows file transfer of a text file in
028200091031*     * FTP_LinMod:          line at a time mode.
030900091031*     * FTP_lineMode:        Allows file transfer of a text file in
031000091031*     * FTP_lineMode:        line at a time mode.
034000091031*     * FTP_passiv:          Turn passive mode transfers on or off
035600091031*     * FTP_passiveMode:     Turn passive mode transfers on or off
037700091031*     * FTP_log:             Turn on/off logging of session to joblog
038900091031*     * FTP_logging:         Turn on/off logging of session to joblog
040300091031*     * FTP_rename:          Rename a file on an FTP server
041800091031*     * FTP_delete:          Delete a file on the FTP server
043100091031*     * FTP_rmdir:           Delete a directory from an FTP server
044400091031*     * FTP_mkdir:           Create a directory on the FTP server
045700091031*     * FTP_rtvcwd:          Retrieve the current working directory
045800091031*     * FTP_rtvcwd:          name from the server.
046900091031*     * FTP_quote:           Send a raw, unadulterated, command to the
047000091031*     * FTP_quote:           FTP server, and receive the reply.
049200091031*     * FTP_size:            Get the size of a file on an FTP server.
050900091031*     * FTP_mtime:           Get modification time of a file on an FTP
050904091031      * FTP_mtime:           server
052800091031*     * FTP_AddPfm:          Add member to a physical file (ADDPFM)
054500091031*     * FTP_AddPvm:          Add variable length file member (ADDPVLM)
056200091031*     * FTP_CrtLib:          Create Library (CRTLIB)
057900091031*     * FTP_CrtPf:           Create Physical File (CRTPF)
059600091031*     * FTP_CrtSrc:          Create Source Physical File (CRTSRCPF)
061300091031*     * FTP_DltF:            Delete File (DLTF)
063000091031*     * FTP_DltLib:          Delete Library (DLTLIB)
064700091031*     * FTP_RmtCmd:          Run a command on the AS/400
066600091031*     * FTP_NamFmt:          Set the AS/400's Name Format (NAMEFMT)
066604091031      * FTP_NamFmt:          parm
068300091031*     * FTP_dir              Gets a listing of files in a directory
068400091031*     * FTP_dir              on the FTP server.
070700091031*     * FTP_dirraw:          Gets a listing of files in a directory on
070800091031*     * FTP_dirraw:          the FTP server.
072500091031*     * FTP_list:            Gets a listing of files in a directory on
072600091031*     * FTP_list:            the FTP server. (filenames only)
075000091031*     * FTP_lstraw:          Gets a listing of files in a directory on
075100091031*     * FTP_lstraw:          the FTP server. (filenames only)
076900091031*     * FTP_get:             Retrieve a file from FTP server:
078600091031*     * FTP_getraw:          Get a file *from* the FTP server.
080900091031*     * FTP_put:             Send a file to FTP server:
082600091031*     * FTP_putraw:          Put a file *to* the FTP server.
084900091031*     * FTP_append:          Add a file to the end of one that is on
084904091031      * FTP_append:          an FTP server
086600091031*     * FTP_appraw:          Append a file *to* the FTP server.
088900091031*     * FTP_quit:
090400091031*     * FTP_erorr:           returns the error message that occurred
090500091031*     * FTP_error:           when one of the above routines return -1.
091600091031*     * FTP_errormsg:        returns the error message that occurred
091700091031*     * FTP_errormsg:        when one of the above routines return -1.
093300091031*     * FTP_codepg:          Set file translation options for ASCII
093304091031      * FTP_codepg:          mode:
094600091031*     * FTP_codePage:        Set file translation options for ASCII
094604091031      * FTP_codePage:        mode:
096500091031*     * FTP_xproc:           Register a procedure to be called at a
096600091031*     * FTP_xproc:           given exit point:
098300091031*     * FTP_exitProc:        Register a procedure to be called at a
098400091031*     * FTP_exitProc:        given exit point:
102100091031*     * FTP_trim:            Set the "trim mode" for record-based
102200091031*     * FTP_trim:            fils that you PUT in ASCII (non-binary)
102204091031      * FTP_trim:            mode.
103800091031*     * FTP_trimMode:        Set the "trim mode" for record-based
103900091031*     * FTP_trimMode:        files that you PUT in ASCII (non-binary)
103904091031      * FTP_trimMode:        mode.
105700091031*     * FTP_sizereq:         Turn Size request on or off
107400091031      * FTP_ParseURL():      Parse URL into it's component parts
110000091031      * FTP_url_get_raw():   Retrieve a file specified via URL
112200091031      * FTP_url_get():       Retrieve a file specified via URL
114100091031      * FTP_open():          Open a connection to an FTP server
115900091031*     * FTP_Login():         Log in to an FTP server.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------