[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ecf-dev] SCP outgoing transmission
|
Hi Alvaro,
I think you want to have the URL be:
scp://user@xxxxxxxxxxxx//folder/targetfile
To save to /folder/targetfile (note no home) or
scp://user@xxxxxxxxxxxx//home/user/folder/targetfile
to save to /home/user/folder/targetfile. Of course, the folder has to
be writeable by you as user for this to succeed.
We had to have some syntax for scp to be able to specify absolute file
names (in addition to home-relative) and could not use something with a
':' in it (because of URI syntax), so chose the above. We do need more
docs on this of course.
Hope this helps.
Thanks,
Scott
Álvaro Navas wrote:
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'
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev