Jump to content
Server Maintenance This Week. ×

Base Elements - BE_FTP_upload - <url> malformed error


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

Recommended Posts

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
Link to comment
Share on other sites

  • 10 months later...

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