Melastudio Posted October 26, 2009 Posted October 26, 2009 I'm trying to connect FileMaker to a ftp server From my ftp client all worked well, so I think the FTP server il well-working. The plugin gives NO ERROR when it try to connect But when I try the simplest operation (download a file named "1.jpg" from the root folder). the plugin begins, creates a balck and empty file on my desktop (the destination) but then waits about 30 seconds and then gives me a timeout error. Do you know where the problem is? Many Thanks!
Smef Posted October 26, 2009 Posted October 26, 2009 Are you using our sample client, or your own script to do this? Could you please post the script you are using?
Melastudio Posted October 26, 2009 Author Posted October 26, 2009 Done!!! It's very simple... Schermata_2009-10-26_a_19.54.08.pdf
Valentin Posted October 27, 2009 Posted October 27, 2009 Davide, It's also helpful if can send the plugin log to us. Here is how: Reproduce the problem use the 'Report a bug' button on the plugin configuration panel, which is accessed through fm preferences plugin tab.
Melastudio Posted October 27, 2009 Author Posted October 27, 2009 I've done. But is there no way to open the log and trying to understand without your help? The email that this procedure generates should be sent in cc also to the mail submitted in the form A log file should be usefull.... For simple problem a user could solve more quickly...
Smef Posted October 27, 2009 Posted October 27, 2009 (edited) Logs can be found at Mac: /Users/userName/Library/Logs/360Plugin Logs/ /Users/userName/Library/Logs/360Plugin Logs/360Works FM WPE /Users/userName/Library/Logs/360Plugin Logs/360Works FM Pro Windows: DriveLetter:Documents and SettingsMy Documents360Plugin Logs DriveLetter:Documents and SettingsAll UsersDocuments360Works FM Pro DriveLetter:Documents and SettingsAll UsersDocuments360Works FM WPE Vista: DriveLetter:UsersDocuments360Plugin Logs Your log was reporting: INFO: problem getting file size com.enterprisedt.net.ftp.FTPException: 1.jgp: not a plain file. There may be a problem with the file you are trying to download. Have you tried any other files? Edited October 27, 2009 by Guest
Melastudio Posted March 4, 2010 Author Posted March 4, 2010 After a long time of pause I try t solve this simple problem This time my log says... 4-mar-2010 18.10.19 com.prosc.fmkit.Plugin setLastError GRAVE: PluginFunction PluginFunction{name='FTPeek_UploadFile', functionID=-19981, minArgs=null, maxArgs=2} got an error with converted args [null, /Reference/RW2/Immagini/Listino/00000363.jpg] java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:525) at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(Unknown Source) at com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(Unknown Source) at com.enterprisedt.net.ftp.pro.ProFTPControlSocket.newPassiveDataSocket(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.initPut(Unknown Source) at com.enterprisedt.net.ftp.FTPClient.A(Unknown Source) at com.enterprisedt.net.ftp.FTPClient.B(Unknown Source) at com.enterprisedt.net.ftp.FTPClient.put(Unknown Source) at com.enterprisedt.net.ftp.FTPClient.put(Unknown Source) at com.prosc.ftpeek.GenericFTPModel$4.run(GenericFTPModel.java:574) 4-mar-2010 18.10.19 com.prosc.fmkit.PluginBridge doFunction INFO: finished doFunction: FTPeek_UploadFile I cant tranfer no files... I also try with a pdf on my desktop 4-mar-2010 18.23.32 com.prosc.fmkit.Plugin setLastError GRAVE: PluginFunction PluginFunction{name='FTPeek_UploadFile', functionID=-19981, minArgs=null, maxArgs=2} got an error with converted args [null, /Macintosh HD/Users/macbook/Desktop/1.pdf] java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:525) at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(Unknown Source) at com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(Unknown Source) at com.enterprisedt.net.ftp.pro.ProFTPControlSocket.newPassiveDataSocket(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.initPut(Unknown Source) at com.enterprisedt.net.ftp.FTPClient.A(Unknown Source) at com.enterprisedt.net.ftp.FTPClient.B(Unknown Source) at com.enterprisedt.net.ftp.FTPClient.put(Unknown Source) at com.enterprisedt.net.ftp.FTPClient.put(Unknown Source) at com.prosc.ftpeek.GenericFTPModel$4.run(GenericFTPModel.java:574) 4-mar-2010 18.23.32 com.prosc.fmkit.PluginBridge doFunction INFO: finished doFunction: FTPeek_UploadFile This is the function FTPeek_UploadFile( "" ; Get ( PercorsoDesktop ) & "1.pdf") My ftp works very well with YummyFTP I'm very sad...
Smef Posted March 4, 2010 Posted March 4, 2010 (edited) If you see from your log, it is reporting: java.net.SocketTimeoutException: connect timed out It looks like your connection is timing out, possibly from inactivity or other settings on your server. Did you recently connect to the server before calling this function, or are you using an old connection? Are you disconnecting from your server at any point in your function? If not, and you are calling the connect function repeatedly it is also possible that you may be capping out connections or triggering some security setting on your FTP server which is preventing it from communicating with your client. Also, have you tried this using our sample FTP client? Edited March 4, 2010 by Guest
Melastudio Posted March 4, 2010 Author Posted March 4, 2010 I tryed another FTP and it works.. So the problem is the server... Every time I do: FTPeek_ConnectFTP( "server"; "username" ; "pass" ) loop FTPeek_UploadFile( "" ; Get ( PercorsoDesktop ) & "1.pdf") exitloop if (condition) end loop FTPeek_Disconnect
Melastudio Posted March 5, 2010 Author Posted March 5, 2010 SOLVED The problem was the activemode... Setting it true all warks fine. Sorry for the mistake...
Recommended Posts
This topic is 5375 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 accountSign in
Already have an account? Sign in here.
Sign In Now