OK, I resolved the problem I was having. My ftp account is setup to look at a particular directory, so I was putting files in the root of that directory, and referencing it as ".". If I create a sub directory and put my files in there instead everything works fine. So, I guess you can't use "." to reference the root directory. I Changed the configuration to the following and its working now:
<ftp-provider name="FTPprovider" hostname="myhost" >
<ftp-bus busid="myFTPChannel" >
I'm trying similar implementation transfering a file from FS using ESB as SFTP to another FS.
Can you please send me the your esb.xml