SpringSource/spring-integration — pull request #545 by garyrussell (2012-07-11 12:58:18+00:00)
Title: INT-2652 Fix mget for FTP Backport

Backport to 2.1.x

FTP servers return full path from listNames() whereas SFTP
returns just the filename. mget logic assumed SFTP behavior.

Add a test to see if the filename already starts with the remote
directory and remove it before calling get() (which assumes just
the filename).

Includes an @Ignored test for FTP and SFTP that runs an mget
against a server.