SpringSource/spring-integration — pull request #537 by garyrussell (2012-07-06 12:52:23+00:00)
Title: INT-2652 Fix mget for FTP

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.