diff --git a/docs/src/reference/docbook/ftp.xml b/docs/src/reference/docbook/ftp.xml
index 4183cbd5e1..c3dcc764af 100644
--- a/docs/src/reference/docbook/ftp.xml
+++ b/docs/src/reference/docbook/ftp.xml
@@ -278,7 +278,7 @@ xsi:schemaLocation="http://www.springframework.org/schema/integration/ftp
The remote directory that the ls command acted on is provided
- in the file_remote_dir header.
+ in the file_remoteDirectory header.
get supports the following option:
@@ -291,8 +291,8 @@ xsi:schemaLocation="http://www.springframework.org/schema/integration/ftp
File object representing the retrieved file.
- The remote directory is provided in the file_remote_dir header, and the filename is
- provided in the file_remote_file header.
+ The remote directory is provided in the file_remoteDirectory header, and the filename is
+ provided in the file_remoteFile header.
@@ -306,8 +306,8 @@ xsi:schemaLocation="http://www.springframework.org/schema/integration/ftp
The message payload resulting from an rm operation is Boolean.TRUE if the
remove was successful, Boolean.FALSE otherwise.
- The remote directory is provided in the file_remote_dir header, and the filename is
- provided in the file_remote_file header.
+ The remote directory is provided in the file_remoteDirectory header, and the filename is
+ provided in the file_remoteFile header.
diff --git a/docs/src/reference/docbook/sftp.xml b/docs/src/reference/docbook/sftp.xml
index 4db47b5f1b..5b73aaa1e9 100644
--- a/docs/src/reference/docbook/sftp.xml
+++ b/docs/src/reference/docbook/sftp.xml
@@ -206,7 +206,7 @@ xsi:schemaLocation="http://www.springframework.org/schema/integration/sftp
The remote directory that the ls command acted on is provided
- in the file_remote_dir header.
+ in the file_remoteDirectory header.
get supports the following option:
@@ -219,8 +219,8 @@ xsi:schemaLocation="http://www.springframework.org/schema/integration/sftp
File object representing the retrieved file.
- The remote directory is provided in the file_remote_dir header, and the filename is
- provided in the file_remote_file header.
+ The remote directory is provided in the file_remoteDirectory header, and the filename is
+ provided in the file_remoteFile header.
@@ -234,8 +234,8 @@ xsi:schemaLocation="http://www.springframework.org/schema/integration/sftp
The message payload resulting from an rm operation is Boolean.TRUE if the
remove was successful, Boolean.FALSE otherwise.
- The remote directory is provided in the file_remote_dir header, and the filename is
- provided in the file_remote_file header.
+ The remote directory is provided in the file_remoteDirectory header, and the filename is
+ provided in the file_remoteFile header.