[JBoss JIRA] Created: (JBESB-469) ftp post-directory issue
by Daniel Bevenius (JIRA)
ftp post-directory issue
------------------------
Key: JBESB-469
URL: http://jira.jboss.com/jira/browse/JBESB-469
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Rosetta
Affects Versions: 4.0
Reporter: Daniel Bevenius
Assigned To: Mark Little
Priority: Minor
When configuring an ftp-message-filter and specifying a post-directory the file still …
[View More]ends up in the directory specified in the directory attribute.
The method renameInRemoteDir(String p_sFrom, String p_sTo) in EdtFtpImpl has a line that looks like this:
m_oConn.rename(getRemoteDir() + "/" + sRmtFrom, getRemoteDir() + "/" + sRmtTo);
The getRemoteDir() method always returns the value of m_sRemoteDir, and as far as I can tell this is never changed after being set to the directory attribute in ftp-message-filter.
I could not find any unit test for EdtFtpImpl in the svn trunk and was wondering if this would be something I could write. We are currently using an embedded ftp server to test the functionality of the ftp listener via the ESB. My though would be that I could write junit tests for the EdtFtpImpl.java using an embedded ftp server. Let me know if this would be of interest to you.
Thanks
Daniel
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[View Less]