Jump to content
Sign in to follow this  
David Wikström

FTPeek error on one computer only

Recommended Posts

I have a client with a FileMaker 11 runtime on Windows, where one specific user/computer is constantly getting an error on a file download inside a scripted routine.


INFO: Creating shared PluginBridge instance / plugin bridge version 1.64

bundlePath: C:\Ecatalogues\eCatalogue Winter 13 - info\files\Extensions\360Works_FTPeek.fmx

jvm version: 23.1-b03 from C:\Program Files (x86)\Java\jre7 - JAVA_JVM_VERSION is null

Operating system info: Windows 7 6.1 running on x86 architecture


The connection to the FTP server is established without problems, but then there is an error as soon as the file is to be downloaded:


INFO: Downloading /FileControl/FileList-13w to

Aug 23, 2012 1:19:23 PM com.prosc.fmkit.Plugin setLastError

SEVERE: PluginFunction PluginFunction{name='FTPeek_DownloadFileToField', functionID=-24987, minArgs=1, maxArgs=2} got an error with converted args [/FileControl/FileList-13w, ISO8859_1]

com.enterprisedt.net.ftp.ControlChannelIOException: Connection reset

at com.enterprisedt.net.ftp.FTPControlSocket.A(Unknown Source)

at com.enterprisedt.net.ftp.FTPControlSocket.E(Unknown Source)

at com.enterprisedt.net.ftp.FTPControlSocket.sendCommand(Unknown Source)

at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocketPASV(Unknown Source)

at com.enterprisedt.net.ftp.pro.ProFTPControlSocket.createDataSocketPASV(Unknown Source)

at com.enterprisedt.net.ftp.FTPControlSocket.A(Unknown Source)

at com.enterprisedt.net.ftp.FTPClient.setupDataSocket(Unknown Source)

at com.enterprisedt.net.ftp.FTPClient.initGet(Unknown Source)

at com.enterprisedt.net.ftp.FTPClient.A(Unknown Source)

at com.enterprisedt.net.ftp.FTPClient.get(Unknown Source)

at com.prosc.ftpeek.GenericFTPModel.downloadFile(GenericFTPModel.java:455)

at com.prosc.ftpeek.FTPeekPlugin.FTPeek_DownloadFileToField(FTPeekPlugin.java:565)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.prosc.fmkit.StaticFunction.invoke(StaticFunction.java:231)

at com.prosc.fmkit.Plugin.invokeFunction(Plugin.java:333)

at com.prosc.fmkit.RegisterablePlugin.invokeFunction(RegisterablePlugin.java:77)

at com.prosc.fmkit.Plugin.invokeFunctionNoErrors(Plugin.java:314)

at com.prosc.fmkit.PluginBridge$3.run(PluginBridge.java:1055)

at com.prosc.fmkit.PluginBridge$5.run(PluginBridge.java:1151)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$000(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source) T

at java.awt.EventDispatchThread.run(Unknown Source)

Aug 23, 2012 1:19:23 PM com.prosc.fmkit.PluginBridge$3 run


It's a quite small file that's being downloaded (22kB) so I would be surprised if it was just a normal time-out. Could anti-virus/firewalls or something similar explain this?

Share this post

Link to post
Share on other sites

It is possible. Have the user try to telnet to the FTP server (IP and port) to make sure a connection can be established.

Share this post

Link to post
Share on other sites

The problem isn't establishing the connection - that works fine:


CONFIG: === Executing plugin function FTPeek_ConnectFTP on thread main ===

Aug 23, 2012 1:28:03 PM com.prosc.ftpeek.GenericFTPModel connect

INFO: Connected to server ftp.[xxxxx].[xxx]

Aug 23, 2012 1:28:03 PM com.prosc.fmkit.PluginBridge initAwt

INFO: Initialized AWT successfully from Thread[main,5,main]

Aug 23, 2012 1:28:03 PM com.prosc.fmkit.PluginBridge$3 run


The error occurs only when the FTPeek_DownloadFileToField is sent.

So I'm not sure if testing the connection by other means makes sense?

Share this post

Link to post
Share on other sites

David - not sure if this is helpful...but in your post I noticed two things (1) a connection reset issue similar to the one I had been having, and (2) based on the info file the user appears to be running Java 7. Check out my "Connection Reset" post a few down the list - bottom line is that Java 7 might be the culprit - go back to Java 6 Update 33 (the last one for 6) and it might work fine.


Share this post

Link to post
Share on other sites

There were some known issues with Java 7 and our FTPeek plugin. A newer version of the plugin has been released (FTPeek 1.63) addresses these and should now work with Java 7.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

By using this site, you agree to our Terms of Use.