Jump to content

BE_FTP_Upload - can't get it to work


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

Recommended Posts

I need to connect to an SFTP server and upload a file from Filemaker. 

Apparently Filemaker 17 don't do SFTP natively, but I have used Base Elements quite a lot and like it. However, I am not able to get the BE_FTP_Upload command to work.

I have the PDF file in a a global container called System::xContainer.

I am doing Set Variable $$ftpresult with the following info:

BE_FTP_Upload ( "theftpserver.com:2222/" ; System::xContainer ; "FtpUserName" ; "ThePassword"  )

The only result I get is a questionmark.

I am able to upload the same file with an FTP client.

 

Any ideas? 

Tia,

/andreas

Link to comment
Share on other sites

After some struggle with this I found out what's wrong: You have to define the field name as well. 

Eg;

BE_FTP_Upload ( "theftpserver.com:2222/" & System::xContainer ; System::xContainer ; "FtpUserName" ; "ThePassword"  )

  • Plus1 1
Link to comment
Share on other sites

  • 2 years later...
  • Newbies

Could you please post the script steps of Base Elements for uploading a file to ftp server? I tried a lot of things but the response is either "connection time out" or "== Info: response reading failed"

Link to comment
Share on other sites

This topic is 822 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.