Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] SCP outgoing transmission

Hi, Ive been using the scp provider as a mean to create a file repository, but I have found the problem that I cant send files to the remote location where I want them to be, I just can send them to the default folder. I think the problem is in the way I write the target URL but I just cant find a proper way to write it, getting always either URL malformat errors or scp returning -1.

Ex:

'scp://user@xxxxxxxxxxxx/targetfile' -> This works, it sends the file to /home/user/targetfile.

But what I want is to send it to another folder, but just cant get it to do it. Already checked the target folder exists and names are the same. Ive tried several URL like but none seems to work:

'scp://user@xxxxxxxxxxxx:folder/targetfile'
'scp://user@xxxxxxxxxxxx:/folder/targetfile'
'scp://user@xxxxxxxxxxxx/folder/targetfile'
'scp://user@xxxxxxxxxxxx://home/user/folder/targetfile'


Back to the top