From 18680fd1681731888c6fb7c530cfdb712f53e954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Fri, 1 Jan 2021 20:48:16 +0100 Subject: [PATCH] Generate FTP methodsynopses based on stubs Co-authored-by: Christoph M. Becker Closes GH-305. --- reference/ftp/functions/ftp-alloc.xml | 15 +++++++-------- reference/ftp/functions/ftp-append.xml | 10 ++++------ reference/ftp/functions/ftp-cdup.xml | 5 ++--- reference/ftp/functions/ftp-chdir.xml | 5 ++--- reference/ftp/functions/ftp-chmod.xml | 13 ++++++------- reference/ftp/functions/ftp-close.xml | 5 ++--- reference/ftp/functions/ftp-connect.xml | 9 ++++----- reference/ftp/functions/ftp-delete.xml | 11 +++++------ reference/ftp/functions/ftp-exec.xml | 7 +++---- reference/ftp/functions/ftp-fget.xml | 19 +++++++++---------- reference/ftp/functions/ftp-fput.xml | 17 ++++++++--------- reference/ftp/functions/ftp-get-option.xml | 9 ++++----- reference/ftp/functions/ftp-get.xml | 17 ++++++++--------- reference/ftp/functions/ftp-login.xml | 5 ++--- reference/ftp/functions/ftp-mdtm.xml | 9 ++++----- reference/ftp/functions/ftp-mkdir.xml | 7 +++---- reference/ftp/functions/ftp-mlsd.xml | 7 +++---- reference/ftp/functions/ftp-nb-continue.xml | 5 ++--- reference/ftp/functions/ftp-nb-fget.xml | 17 ++++++++--------- reference/ftp/functions/ftp-nb-fput.xml | 17 ++++++++--------- reference/ftp/functions/ftp-nb-get.xml | 17 ++++++++--------- reference/ftp/functions/ftp-nb-put.xml | 21 ++++++++++----------- reference/ftp/functions/ftp-nlist.xml | 7 +++---- reference/ftp/functions/ftp-pasv.xml | 9 ++++----- reference/ftp/functions/ftp-put.xml | 17 ++++++++--------- reference/ftp/functions/ftp-pwd.xml | 7 +++---- reference/ftp/functions/ftp-raw.xml | 5 ++--- reference/ftp/functions/ftp-rawlist.xml | 7 +++---- reference/ftp/functions/ftp-rename.xml | 13 ++++++------- reference/ftp/functions/ftp-rmdir.xml | 5 ++--- reference/ftp/functions/ftp-set-option.xml | 9 ++++----- reference/ftp/functions/ftp-site.xml | 5 ++--- reference/ftp/functions/ftp-size.xml | 9 ++++----- reference/ftp/functions/ftp-ssl-connect.xml | 9 ++++----- reference/ftp/functions/ftp-systype.xml | 7 +++---- 35 files changed, 160 insertions(+), 196 deletions(-) diff --git a/reference/ftp/functions/ftp-alloc.xml b/reference/ftp/functions/ftp-alloc.xml index 79c7fb2762..0f28792634 100644 --- a/reference/ftp/functions/ftp-alloc.xml +++ b/reference/ftp/functions/ftp-alloc.xml @@ -9,9 +9,9 @@ &reftitle.description; boolftp_alloc - resourceftp_stream - intfilesize - stringresult + resourceftp + intsize + stringresponse&null; Sends an ALLO command to the remote FTP server to @@ -34,7 +34,7 @@ - ftp_stream + ftp The link identifier of the FTP connection. @@ -42,7 +42,7 @@ - filesize + size The number of bytes to allocate. @@ -50,11 +50,11 @@ - result + response A textual representation of the servers response will be returned by - reference in result if a variable is provided. + reference in response if a variable is provided. @@ -107,7 +107,6 @@ ftp_close($conn_id); - - ftp_append @@ -12,8 +11,8 @@ boolftp_append resourceftp - stringremote_file - stringlocal_file + stringremote_filename + stringlocal_filename intmodeFTP_BINARY @@ -36,7 +35,7 @@ - remote_file + remote_filename @@ -44,7 +43,7 @@ - local_file + local_filename @@ -70,7 +69,6 @@ - - + ftp_exec Requests execution of a command on the FTP server @@ -9,7 +9,7 @@ &reftitle.description; boolftp_exec - resourceftp_stream + resourceftp stringcommand @@ -22,7 +22,7 @@ - ftp_stream + ftp The link identifier of the FTP connection. @@ -90,7 +90,6 @@ ftp_close($conn_id); - - + ftp_get_option Retrieves various runtime behaviours of the current FTP stream @@ -8,8 +8,8 @@ &reftitle.description; - mixedftp_get_option - resourceftp_stream + intboolftp_get_option + resourceftp intoption @@ -22,7 +22,7 @@ - ftp_stream + ftp The link identifier of the FTP connection. @@ -92,7 +92,6 @@ $timeout = ftp_get_option($conn_id, FTP_TIMEOUT_SEC); - - + ftp_set_option Set miscellaneous runtime FTP options @@ -9,9 +9,9 @@ &reftitle.description; boolftp_set_option - resourceftp_stream + resourceftp intoption - mixedvalue + intboolvalue This function controls various runtime options for the specified FTP @@ -23,7 +23,7 @@ - ftp_stream + ftp The link identifier of the FTP connection. @@ -115,7 +115,6 @@ ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10); -