From 6c2fe5927d88b3655e205643503ae6c01dcadfa2 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Thu, 6 Jan 2011 13:47:36 -0500 Subject: [PATCH] INT-1703 uodated documentation related to configuring 'remote-file-separator' for FTP/SFTP --- docs/src/reference/docbook/ftp.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/src/reference/docbook/ftp.xml b/docs/src/reference/docbook/ftp.xml index 1fdad2c989..bdcfc6ee7e 100644 --- a/docs/src/reference/docbook/ftp.xml +++ b/docs/src/reference/docbook/ftp.xml @@ -114,6 +114,7 @@ xsi:schemaLocation="http://www.springframework.org/schema/integration/ftp delete-remote-files="true" filename-pattern="*.txt" remote-directory="some/remote/path" + remote-file-separator="/" local-directory="."> ]]> @@ -130,6 +131,10 @@ xsi:schemaLocation="http://www.springframework.org/schema/integration/ftp org.springframework.integration.file.filters.FileListFilter, a strategy interface for filtering a list of files. + + Since Spring Integration 2.0.2 we've added 'remote-file-separator' attribute which allows you to configure which + file separator character to use if default '/' is not applicable for your environment. + Please refer to the schema for more details on these attributes. @@ -212,6 +217,7 @@ xsi:schemaLocation="http://www.springframework.org/schema/integration/ftp channel="ftpChannel" session-factory="ftpSessionFactory" charset="UTF-8" + remote-file-separator="/" filename-generator="fileNameGenerator"/>]]> As you can see from the configuration above you can configure an FTP Outbound Channel Adapter via the