Skip to content

Commit 6b6782e

Browse files
committed
(S)FTP Doc Polishing
1 parent d766d23 commit 6b6782e

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

spring-integration-ftp/src/test/resources/log4j.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %t %c{2}:%L - %m
77
log4j.category.org.springframework=WARN
88
log4j.category.org.springframework.integration=WARN
99
log4j.category.org.springframework.integration.file=WARN
10+
11+
log4j.category.org.apache=DEBUG

src/reference/asciidoc/ftp.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,12 +900,12 @@ The expression used to determine the remote path should produce a result that en
900900

901901
Starting with _version 5.0_, a recursive `MGET`, combined with the new `FileExistsMode.REPLACE_IF_MODIFIED` mode, can be used to periodically synchronize an entire remote directory tree locally.
902902

903-
[NOTE]
904903
.Notes for when using recursion (`-R`)
904+
[IMPORTANT]
905905
=====
906906
The pattern is ignored, and `*` is assumed.
907907
By default, the entire remote tree is retrieved.
908-
However, files in the tree can be filtered, by providing a`FileListFilter`; directories in the tree can also be filtered this way.
908+
However, files in the tree can be filtered, by providing a `FileListFilter`; directories in the tree can also be filtered this way.
909909
A `FileListFilter` can be provided by reference or by `filename-pattern` or `filename-regex` attributes.
910910
For example, `filename-regex="(subDir|.*1.txt)"` will retrieve all files ending with `1.txt` in the remote directory and the subdirectory `subDir`.
911911
However, see below for an alternative available in _version 5.0_.

src/reference/asciidoc/sftp.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -922,13 +922,13 @@ The expression used to determine the remote path should produce a result that en
922922

923923
Starting with _version 5.0_, a recursive `MGET`, combined with the new `FileExistsMode.REPLACE_IF_MODIFIED` mode, can be used to periodically synchronize an entire remote directory tree locally.
924924

925-
[NOTE]
926925
.Notes for when using recursion (`-R`)
926+
[IMPORTANT]
927927
=====
928928
929929
The pattern is ignored, and `*` is assumed.
930930
By default, the entire remote tree is retrieved.
931-
However, files in the tree can be filtered, by providing a`FileListFilter`; directories in the tree can also be filtered this way.
931+
However, files in the tree can be filtered, by providing a `FileListFilter`; directories in the tree can also be filtered this way.
932932
A `FileListFilter` can be provided by reference or by `filename-pattern` or `filename-regex` attributes.
933933
For example, `filename-regex="(subDir|.*1.txt)"` will retrieve all files ending with `1.txt` in the remote directory and the subdirectory `subDir`.
934934
However, see below for an alternative available in _version 5.0_.

0 commit comments

Comments
 (0)