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.

Base Elements - BE_FTP_upload - <url> malformed error

Featured Replies

I'm trying to connect to an SFTP server using the Base Elements plugin. I've set variables for;

$SFTPname = "SFTP Server"

$SFTPip = "sftp://111.111.111.111:22/"

$SFTPusesr = "user"

$SFTPpassword = "password"

$FilePath = Get(documentspath) & "where the PDF is temporarily stored locally/"

$FileName = "MyFile.PDF"

$FileToUpload = $FilePath & $FileName (/MyMacHDD/Users/GeoSteven/Documents/where the PDF is temporarily stored locally/MyFile.PDF)

$UploadFileTo = $SFTPip & $FileName (sftp://111.111.111.111:22/MyFile.PDF)

 

With these vars defined I'm trying to execute this line

$FTPputlist = BE_FTP_Upload ( $UploadFileTo, $FileToUpload, $SFTPuser, $SFTPpassword)

The BE_CurlTrace returns

== Info: <url> malformed
== Info: Closing connection -1

I have confirmed through Filezilla that all credentials and paths are valid and can transfer the file that way.

 

I have done quite a bit of research to no avail. Any input on this would be appreciated.

 

Thanks in advance, Steve

Edited by GeoSteven
more detail

  • 10 months later...

My first guess is that you are having spaces in the url.

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.