Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Newbies

We are using FTPeek 1.642 on our FileMaker Server (12.0.4.405) to transfer files to a sftp server. It works well most of the time. Every once in a while, however, we get an error message that seems to imply that the public key function did not work correctly. This message reads:

 

=========

Export to [...] failed: Couldn't connect to sftp server - java.lang.IllegalArgumentException: Public key: ERROR is not a valid key, make sure FTPeek_GetPublicKey() function is not returning ERROR

==========

 

Why does this happen? Is there a way to correct for it?

 

(Further possibly valuable info: Windows Server 2008 R2 Standard, Java 1.7.0_17b02)

Hello,

 

All 360Works plugin functions return the string "ERROR" when the function fails. If you trap for this in your script, you can call XXLastError (where XX is usually the plugin's name) to get a human-readable form of the error message. This should better explain the error.

 

According to the error from your post, it is very likely the FTPeek_GetPublicKey function is failing and the FTPeek_ConnectSFTP script that follows it is throwing an error because it receives the string "ERROR" in place of the public key for which it is looking.

 

Please take a look at FTPeek's plugin documentation here:

 

http://static.360works.com/plugins/FTPPLUGIN/documentation.html

 

There are examples of how to trap for errors in your script as well as a description of FTPeek_LastError.

  • 1 month later...

I had this same error message, and found that I needed to specify the home directory to make it work properly. Without the home directory the OP's message will popup.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.