From d1155297b653cc8f6d2fa6d6e0fe974434c6bb93 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Thu, 15 Apr 2021 10:17:55 -0400 Subject: [PATCH] (S)FTP Doc Polishing --- src/reference/asciidoc/ftp.adoc | 4 ++-- src/reference/asciidoc/sftp.adoc | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/reference/asciidoc/ftp.adoc b/src/reference/asciidoc/ftp.adoc index 5da110e339..9bca2de147 100644 --- a/src/reference/asciidoc/ftp.adoc +++ b/src/reference/asciidoc/ftp.adoc @@ -1212,7 +1212,7 @@ You can use the conventional Unix octal format (for example, `600` allows read-w When configuring the adapter using java, you can use `setChmod(0600)`. Only applies if your FTP server supports the `SITE CHMOD` subcommand. -Using the `mput` Command +==== Using the `mput` Command The `mput` sends multiple files to the server and supports only one option: @@ -1227,7 +1227,7 @@ In addition, files in the local directory can be filtered with one of `mput-patt The filter works with recursion, as long as the subdirectories themselves pass the filter. Subdirectories that do not pass the filter are not recursed. -The message payload resulting from an `mget` operation is a `List` object (that is, a `List` of remote file paths that result from the transfer). +The message payload resulting from an `mput` operation is a `List` object (that is, a `List` of remote file paths that result from the transfer). See also <>. diff --git a/src/reference/asciidoc/sftp.adoc b/src/reference/asciidoc/sftp.adoc index 6b7b01dfd9..4dcf1d28bb 100644 --- a/src/reference/asciidoc/sftp.adoc +++ b/src/reference/asciidoc/sftp.adoc @@ -1009,7 +1009,7 @@ When using the recursive option (`-R`), the `fileName` includes any subdirectory If you use the `-dirs` option, each recursive directory is also returned as an element in the list. In this case, we recommend that you not use the `-1` option, because you would not be able to distinguish files from directories, which you can do when you use `FileInfo` objects. -Using `nlst` Command +==== Using `nlst` Command Version 5 introduced support for the `nlst` command. @@ -1186,7 +1186,7 @@ In addition, you can filter files in the local directory with one of `mput-patte The filter works with recursion, as long as the subdirectories themselves pass the filter. Subdirectories that do not pass the filter are not recursed. -The message payload resulting from an `mget` operation is a `List` object (that is, a `List` of remote file paths resulting from the transfer). +The message payload resulting from an `mput` operation is a `List` object (that is, a `List` of remote file paths resulting from the transfer). See also <>. @@ -1194,7 +1194,7 @@ Version 4.3 introduced the `chmod` attribute, which lets you change the remote f You can use the conventional Unix octal format (for example, `600` allows read-write for the file owner only). When configuring the adapter with Java, you can use `setChmodOctal("600")` or `setChmod(0600)`. -Using the `rm` Command +==== Using the `rm` Command The `rm` command has no options.