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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

FTP delete after ftpget?

Hi all,
How can I use ftpdelete correctly?
I have:
FtpConnection -> FTPFilelist -> FTPGet.
After this I want to delete the file that was "get".
And I want to continue working locally afterwards.
I have 12 ftpservers that I want to connect to in parallel and copy the files over and delete them on the server.
After that I want to thread all the files at the same time.
So 1 want 1 job with an ftpdelete after the get and this 12 times so I can try to run them all in parallel with multithreadexecution.
And this subjob once completed -> load the files to the DB.
Labels (2)
4 Replies
Anonymous
Not applicable
Author

tFtpConnection -> tFTPFilelist -> tFTPGet -> tFTPDelete (using the same filename as in tFTPGet)
Or do I miss something here?
Anonymous
Not applicable
Author

is it possible to delete a file after the get was done and the result was ok? my experience with FTP is that sometimes files cannot be retreived due to whatever reason.  do you need to Iterate between tFTPGet_1 and tFTPDelete_1? I am getting my files in tFTPGet_1 with ((String)globalMap.get("tFTPFileList_1_CURRENT_FILEPATH"))
Anonymous
Not applicable
Author

I would not recommend or believe on Ok from ftpget. After download, get the property of downloaded file as well as the property of file on ftp server. If the comparison is ok, then you can delete.
https://help.talend.com/search/all?query=tFTPFileProperties&content-lang=en
Vaibhav
Anonymous
Not applicable
Author

hi ,
as far as I know you cannot pass 2 different commands in the same request.
As sanvaibhav said , you get first ans delete after (2 cdifferents commant through ftp protocol)

regards
laurent