Hello
I have a basic ftp upload job. Put all files from one directory to ftp server
but i am getting this error. The user has the permission to upload files (I can upload them trough filezila for example)
Exception in component tFTPPut_1
com.enterprisedt.net.ftp.ControlChannelIOException: Connection reset
at com.enterprisedt.net.ftp.FTPControlSocket.readLine(FTPControlSocket.java:1014)
at com.enterprisedt.net.ftp.FTPControlSocket.readReply(FTPControlSocket.java:1049)
at com.enterprisedt.net.ftp.FTPControlSocket.sendCommand(FTPControlSocket.java:973)
at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocketPASV(FTPControlSocket.java:807)
at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocket(FTPControlSocket.java:563)
at com.enterprisedt.net.ftp.FTPClient.setupDataSocket(FTPClient.java:2561)
at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:3468)
at com.enterprisedt.net.ftp.FTPClient.dirDetails(FTPClient.java:3424)
at drugo.upload_suplenc_0_1.upload_suplenc.tFTPPut_1Process(upload_suplenc.java:484)
at drugo.upload_suplenc_0_1.upload_suplenc.tFTPConnection_1Process(upload_suplenc.java:344)
at drugo.upload_suplenc_0_1.upload_suplenc.runJobInTOS(upload_suplenc.java:974)
at drugo.upload_suplenc_0_1.upload_suplenc.main(upload_suplenc.java:842)
any suggestions?
thank you
If I turn windows firewall off it works. Which process do I have to allow so I can still have my windows firewall on?? Please I need this ASAP thank you
Hi
If you are on Windows it is the Windows firewall that is blocking Java when it sees certain FTP commands being sent (PASV and PORT).
Normally, the Windows firewall prompts to add a newly installed program. But in this case it doesn't seem to happen.
To resolve the problem, go to Windows Firewall Settings, and in the Exceptions tab, choose "Add Program" to add java.exe by browsing to your installation of Java.
Shong