pentaho kettle +使用ftp put,get,delete file plugin

时间:2016-07-21 06:53:02

标签: kettle

我通过FTP使用ftp get,put和delete文件随机获得以下错误。

  

org.pentaho.di - FTP删除 - java.net.ConnectException:连接   在java.net.PlainSocketImpl.socketConnect(Native Method)处拒绝了   java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)   在   java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)   在   java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)   在java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)at   java.net.Socket.connect(Socket.java:579)at   com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:103)   在   com.enterprisedt.net.ftp.FTPControlSocket.newPassiveDataSocket(FTPControlSocket.java:946)   在   com.enterprisedt.net.ftp.FTPControlSocket.createDataSocketPASV(FTPControlSocket.java:854)   在   com.enterprisedt.net.ftp.FTPControlSocket.createDataSocket(FTPControlSocket.java:574)   在   com.enterprisedt.net.ftp.FTPClient.setupDataSocket(FTPClient.java:2572)   在com.enterprisedt.net.ftp.FTPClient.initPut(FTPClient.java:2627)at   com.enterprisedt.net.ftp.FTPClient.putData(FTPClient.java:2700)at at   com.enterprisedt.net.ftp.FTPClient.putStream(FTPClient.java:2439)at at   com.enterprisedt.net.ftp.FTPClient.put(FTPClient.java:2407)at at   com.enterprisedt.net.ftp.FTPClient.put(FTPClient.java:2368)at at   org.pentaho.di.job.entries.ftpput.JobEntryFTPPUT.execute(JobEntryFTPPUT.java:812)   在org.pentaho.di.job.Job.execute(Job.java:693)at   org.pentaho.di.job.Job.execute(Job.java:830)at   org.pentaho.di.job.Job.execute(Job.java:577)at   org.pentaho.di.trans.steps.jobexecutor.JobExecutor.executeJob(JobExecutor.java:238)   在   org.pentaho.di.trans.steps.jobexecutor.JobExecutor.processRow(JobExecutor.java:87)   在org.pentaho.di.trans.step.RunThread.run(RunThread.java:60)at   java.lang.Thread.run(Thread.java:745)

2 个答案:

答案 0 :(得分:0)

它似乎与pentaho无关,连接被拒绝意味着,从ftp服务器端看起来有些问题。

答案 1 :(得分:0)

我可以在本地运行时使用ftp get plugin但远程失败,错误消息 - FTP:User cannot log in.