Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

FTPeek_UploadFileFromField issue in 2.05 that worked perfectly fine in 1.67


This topic is 2675 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

We are having an issues with the FTPeek 2.05. The same code ran perfectly fine under 1.67

 

With:

$filename= shopping_cart.php

WebPages_Connex::output_to_web is a text field containing text only (php code)

 

The previous commands to connect and change directly don't report any errors and this happens on all platforms.

 

When I run:

FTPeek_UploadFileFromField( $$webroot  & "/includes/languages/english/buxton/" & $filename ; WebPages_Connex::output_to_web ; "ASCII" )

 

The result is a 10-15 second delay (with a beachball on OSX and FileMaker not responding in Windows, the result is a:  ?  (Question mark with nothing else) and the file isn't uploaded. The strange part is that FTPeek_UploadFile works perfectly find. The issues seems to be with FTPeek_UploadFileFromField only.

 

Hopefully some light can be shed on this issue.

 

Here is a snippet of the log file:

 

INFO : C++ Handling a child response CodeToParent::clear_memory

Jul 25, 2017 10:48:33 PM com.prosc.fmkit.PipeChild run

INFO: Handling callback for threadId 1640 / session 1 on thread Message dispatch thread

Jul 25, 2017 10:48:33 PM com.prosc.fmkit.PipeChild lambda$handleMessage$9

INFO: <- doFunction finished on thread PluginBridge worker-1-thread-1

Jul 25, 2017 10:48:33 PM com.prosc.fmkit.PipeChild sendMessage

INFO: Sending message to parent: finished, parent thread ID 1640 from thread PluginBridge worker-1-thread-1

Jul 25, 2017 10:48:33 PM C++ <Unknown>

INFO : C++ Child process is expecting result

Jul 25, 2017 10:48:33 PM com.prosc.fmkit.PipeChild handleMessage

INFO: -> doFunction started on thread Message dispatch thread

Jul 25, 2017 10:48:33 PM com.prosc.fmkit.PluginBridge2 doFunction

INFO: --> Invoking function FTPeek_ExecuteCommand

Jul 25, 2017 10:48:33 PM com.prosc.fmkit.PipeChild sendMessage

Jul 25, 2017 10:48:33 PM C++ <Unknown>

INFO : C++ Handling a child response CodeToParent::is_empty

INFO: Sending message to parent: isEmpty, parent thread ID 1640 from thread PluginBridge worker-1-thread-1

Jul 25, 2017 10:48:33 PM com.prosc.fmkit.PipeChild run

INFO: Handling callback for threadId 1640 / session 1 on thread Message dispatch thread

Jul 25, 2017 10:48:33 PM com.prosc.fmkit.PipeChild sendMessage

INFO: Sending message to parent: getFmDataAsFmText, parent thread ID 1640 from thread PluginBridge worker-1-thread-1

Jul 25, 2017 10:48:33 PM C++ <Unknown>

INFO : C++ Handling a child response CodeToParent::get_fm_data_as_fm_text

Jul 25, 2017 10:48:33 PM com.prosc.fmkit.PipeChild run

INFO: Handling callback for threadId 1640 / session 1 on thread Message dispatch thread

Jul 25, 2017 10:48:33 PM com.prosc.fmkit.PipeChild sendMessage

INFO: Sending message to parent: getTextLength, parent thread ID 1640 from thread PluginBridge worker-1-thread-1

Jul 25, 2017 10:48:33 PM C++ <Unknown>

INFO : C++ Handling a child response CodeToParent::get_text_length

Jul 25, 2017 10:48:33 PM com.prosc.fmkit.PipeChild run

INFO: Handling callback for threadId 1640 / session 1 on thread Message dispatch thread

Jul 25, 2017 10:48:33 PM com.prosc.fmkit.PipeChild sendMessage

INFO: Sending message to parent: getFmDataAsString, parent thread ID 1640 from thread PluginBridge worker-1-thread-1

Jul 25, 2017 10:48:33 PM C++ <Unknown>

INFO : C++ Handling a child response CodeToParent::get_fm_data_as_string

Jul 25, 2017 10:48:33 PM com.prosc.fmkit.PipeChild run

INFO: Handling callback for threadId 1640 / session 1 on thread Message dispatch thread

Jul 25, 2017 10:49:33 PM com.prosc.fmkit.Plugin setLastError

SEVERE: PluginFunction PluginFunction{name='FTPeek_ExecuteCommand', minArgs=null, maxArgs=1} got an error with converted args [/public_html/includes/languages/english/buxton/shopping_cart.php]

com.enterprisedt.net.ftp.ControlChannelIOException: Read timed out

at com.enterprisedt.net.ftp.FTPControlSocket.e(FTPControlSocket.java:1091)

at com.enterprisedt.net.ftp.FTPControlSocket.b(FTPControlSocket.java:1151)

at com.enterprisedt.net.ftp.FTPControlSocket.sendCommand(FTPControlSocket.java:1050)

at com.enterprisedt.net.ftp.FTPClient.quote(FTPClient.java:2100)

at com.enterprisedt.net.ftp.FTPClient.executeCommand(FTPClient.java:2115)

at com.prosc.ftpeek.GenericFTPModel.executeCommand(GenericFTPModel.java:1054)

at com.prosc.ftpeek.FTPeekPlugin.FTPeek_ExecuteCommand(FTPeekPlugin.java:1433)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

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

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

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

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

at com.prosc.fmkit.PluginBridge2$1.run(PluginBridge2.java:1059)

at com.prosc.fmkit.PluginBridge2.doFunction(PluginBridge2.java:1072)

at com.prosc.fmkit.PipeChild.lambda$handleMessage$9(PipeChild.java:297)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

 

Posted

Just to let anyone know that may have the same issue, I have submitted this to 360works support and they replied that this is a confirmed bug and recommend to go back to ver 1.67 until a fix has been issued.

 

-Sydney

  • Like 2

This topic is 2675 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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