SFTP Upload don't work

Discuss about plugins that don't have a dedicated forum
Post Reply
User avatar
fingus
Posts: 269
Joined: Fri Sep 16, 2011 9:53 am

SFTP Upload don't work

Post by fingus »

I didn´t geht SFTP Upload to work with hURL-Plugin:

Username is in Format: user@domain.de
Server Require Port 22 for SFTP
SFTP-Adress is ssh.domain.de

Code: Select all

@require "hurl"
dateip$ = "/home/user/binary"

UploadFile("sftp://user@domain.de:password@ssh.domain.de:22/"..dateip$, { File = dateip$, ssl = true, adapter = "hurl", verbose = true })
I tried different things (with and without ssl = true..etc) but it doesn´t work, where is my fault?

Connecting to that sftp with that credentials with filezilla works.
Flinx
Posts: 192
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Re: SFTP Upload don't work

Post by Flinx »

Be more precise. What error message?

The syntax of your line seems to be correct, I changed it for one of my servers and it did work. But you have two / at the beginning of the destination path.
Does the paths /home/user/ exist local and remote?
User avatar
fingus
Posts: 269
Joined: Fri Sep 16, 2011 9:53 am

Re: SFTP Upload don't work

Post by fingus »

No specific error message on linux, it just stops with error.
Path is local where the File to Upload is located
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: SFTP Upload don't work

Post by airsoftsoftwair »

fingus wrote: Thu Oct 26, 2023 6:58 am No specific error message on linux, it just stops with error.
Have you tested if it works on Windows?
Post Reply