Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tFTPPut, put file in different directory

Hello,

I use tJavaFlex to determinate which remote directory, I will fill.
In my loop I put a global var with path of remote directory.
So in my tFTPPut my remote directory is dynamic, it's work fine the first time but the second time my current remote directory is concatene with my old remote directory.



Ex :
Path_1 = "/Test/Hello"
Path_2 = "/Hi/Error"

The first time work fine but the second time I got
"Exception in component tFTPPut_3
com.enterprisedt.net.ftp.FTPException: 550 /Test/Hello/Hi/Error: No such file or directory."

Best regards

Labels (2)
5 Replies
Anonymous
Not applicable
Author

Hi,
What's the build version you are using?
So in my tFTPPut my remote directory is dynamic, it's work fine the first time but the second time my current remote directory is concatene with my old remote directory.

Can you connect your FTP server successfully? Could you please show us your tftpput component setting screenshot?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
My build version is 5.6.2.20150508_1414
Yes my connection to the FTP work fine.





0683p000009MFWZ.png

Best regards,
Loïc
cterenzi
Specialist
Specialist

If you're setting the remote directory with a tJavaFlex, make sure you're replacing the value in the variable and not appending it.  (Post your java code if you want  specific help on that component.)
Anonymous
Not applicable
Author

maybe the tJavaFlex is appending the values of your variable, try to print it with a message to be sure that tJavaFlex is sending a good value.
Anonymous
Not applicable
Author

Hi  lmartinmicropole,
Is there any update for your issue?
Best regards
Sabrina