You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Michael Rambichler <mi...@rambichler.at> on 2021/03/05 10:20:06 UTC
Absolut path information in ftp/sftp component
Hi together,
What is the reason that ftp/sftp component does not support absolute path
information?
Is there a technical reason? Or is it maybe a viable request for a feature?
Thanks
Michael
Rép. : Absolut path information in ftp/sftp component
Posted by Daniel Langevin <da...@shq.gouv.qc.ca>.
Hi,
The path used in ftp, ftps and sftp components is always relative to FTP home directory of logged in user.
FTP home directory depends on configuration of FTP server.
In some configurations it can be seemingly "/", but it is in most cases just chroot
Daniel Langevin
>>>
De : Michael Rambichler <mi...@rambichler.at>
À : <us...@camel.apache.org>
Date : 2021-03-05 05:20
Objet : Absolut path information in ftp/sftp component
Hi together,
What is the reason that ftp/sftp component does not support absolute path
information?
Is there a technical reason? Or is it maybe a viable request for a feature?
Thanks
Michael
Re: Absolut path information in ftp/sftp component
Posted by Josef Tember <te...@gmx.net>.
Yes for Security reasons.
But you can escape the user's home path by setting
*jailStartingDirectory*=false
and climb up the directory-tree with
.. /.. /.. /.. /.. /<absolute path>
05.03.2021 11:25:30 Michael Rambichler <mi...@rambichler.at>:
> Hi together,
>
> What is the reason that ftp/sftp component does not support absolute path
> information?
> Is there a technical reason? Or is it maybe a viable request for a feature?
>
> Thanks
> Michael