Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Phil Haeusler / Phil Haeusler (phil haeusler)
Created: 06/01/2010
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / 276123
Priority/Frequency: Minor / Unknown
Locale/System: English / Platforms All
Vote Count: 0
Problem:
CFFTP unable to connect to WFTPD FTP server. Attempting to connect to a WFTPD server using CFFTP returns an internal CF exception. Unknown parser type: WIN32 A N (WFTPD by Texas Imperial Software).The stack trace indicates that the error is occuring in the Commons Jakarta FTP client. Suspect it may have a similar cause as the separate issue here https://bugs.eclipse.org/bugs/show_bug.cgi?id=164304which indicates that wftpd is stating it's a Windows server but giving a Unix style listing. This wftpd setup apparently breaks the auto-detect mechanism in commons.net but while still being technically valid according to the standard.Commons Jakarta FTP client includes a mechanism to override the default auto-detect behaviour and connect successfully to a WFTPD server, however it does not appear the CF supports or exposes this.Such a pseudo-approach would be in coldfusion.tagext.net.FtpHandler.listFiles(FtpHandler.java:878)FTPClient f = ... FTPClient();FTPClientConfig cnf = new FTPClientConfig(FTPClientConfig.SYST_UNIX);f.configure(cnf);...rest of the code ...
Method:
Connect using CFFTP to a WFTP server. Java exception occurs on connection
Result:
org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: WIN32 A N (WFTPD by Texas Imperial Software) at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:132) at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2263) at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2046) at coldfusion.tagext.net.FtpHandler.listFiles(FtpHandler.java:878) at coldfusion.tagext.net.FtpHandler.listDir(FtpHandler.java:440) at coldfusion.tagext.net.FtpTag.doStartTag(FtpTag.java:713) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722) at cfgetAAPNewsML2ecfm681259997._factor12(E:\views\dev-cf9\ColdFusionGSJBWere_VOB\wwwroot\schedule\AAPNewsFeed\getAAPNewsML.cfm:75) at cfgetAAPNewsML2ecfm681259997._factor17(E:\views\dev-cf9\ColdFusionGSJBWere_VOB\wwwroot\schedule\AAPNewsFeed\getAAPNewsML.cfm:69) at cfgetAAPNewsML2ecfm681259997._factor18(E:\views\dev-cf9\ColdFusionGSJBWere_VOB\wwwroot\schedule\AAPNewsFeed\getAAPNewsML.cfm:32) at cfgetAAPNewsML2ecfm681259997._factor19(E:\views\dev-cf9\ColdFusionGSJBWere_VOB\wwwroot\schedule\AAPNewsFeed\getAAPNewsML.cfm:1) at cfgetAAPNewsML2ecfm681259997.runPage(E:\views\dev-cf9\ColdFusionGSJBWere_VOB\wwwroot\schedule\AAPNewsFeed\getAAPNewsML.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722) at cfApplication2ecfc1075400461$funcONREQUEST.runFunction(\\mdweb51\views\dev-cf9\ColdFusionCommon_VOB\Extensions\Components\com\gsjbw\common\Application.cfc:180) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336) at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:88) at coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:280) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:338) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:87) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53) at coldfusion.CfmServlet.service(CfmServlet.java:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at com.intergral.fusionreactor.filter.FusionReactorFilter.b(FusionReactorFilter.java:376) at com.intergral.fusionreactor.filter.FusionReactorFilter.c(FusionReactorFilter.java:254) at com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReactorFilter.java:164) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041607
External Customer Info:
External Company:
External Customer Name: Phil Haeusler
External Customer Email: 361F280E425B9CD5992015D5
External Test Config: 06/01/2010
Attachments:
Comments: