Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
ars
Contributor III
Contributor III

SFTP file permissions

Hi all,

 

I'm uploading a file into a SFTP folder using WinSCP. File has rw-rw-r-- file permissions.


0683p000009Ly4X.png

0683p000009Ly4c.png

The issue is that I need the file with rw-rw-r permissions and it seems that Talend - somehow - changes them.

 

Is there any workaround for this? Because there is no any option for ermissions on tFTPPut component!

 

I'm using Talend Open Studio 5.6.2 under Windows OS.

 

Regards,

 

Ars

Labels (2)
1 Solution

Accepted Solutions
ars
Contributor III
Contributor III
Author

Hi @fdenis,

 

Finally the problem was resolved by changing the SFTP directory permissions - so the files permissions are inherited from them!

 

Anyway, thank you for your proposal!

 

Regards,

 

Ars

 

View solution in original post

4 Replies
fdenis
Creator III
Creator III

it depend on your file system, but you can use tSystem or tSSH to set rights.
ars
Contributor III
Contributor III
Author

thank you for your reply @fdenis

 

the question is how this can be done - the components are there - ok - but I don't know how to use them !!!  (that's why I'm asking a workaround).

 

regards,

fdenis
Creator III
Creator III

something like that
unix
chmod 644 myFile

windows
ATTRIB +R +A [drive:][path][file name] /S
ars
Contributor III
Contributor III
Author

Hi @fdenis,

 

Finally the problem was resolved by changing the SFTP directory permissions - so the files permissions are inherited from them!

 

Anyway, thank you for your proposal!

 

Regards,

 

Ars