July 1, 20214 yr 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 July 1, 20214 yr by GeoSteven more detail
Create an account or sign in to comment