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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Moving files from remote server

I have some files on a remote server.
I would want to Move the files (Cut, Paste) to my local server.
How can i achieve that?
Labels (2)
7 Replies
Anonymous
Not applicable
Author

If the remote server supports FTP protocol , you can use the following components of designer´s palette (Internet/FTP) to do the job:
tFtpGet than tFtpDelete.
aski
Anonymous
Not applicable
Author

I already tried using those components but there is one problem which bugs me.
By the time, GET has finished copying all the files to local directory, there might be a scenario, in which the remote directory is updated with a new file.
If the job now runs DELETE, then all the files will be deleted including the new ones.
I only want to delete the files which i have copied, hence the MOVE operation.
I could not find any component which could help me accomplish this?
Is there any workaround?
Anonymous
Not applicable
Author

Hello umair
After getting the files in a local folder, you can use a tFileList component to iterate this folder and delete the files on server.(see the srceenshot)
Best regards
shong
0683p000009MCHK.png 0683p000009MCHP.png 0683p000009MC8W.png
Anonymous
Not applicable
Author

Wow...
Thats Genius Thinking ! 0683p000009MACn.png
Thanx a bundle
_AnonymousUser
Specialist III
Specialist III

Hi!!

Thanks a lot for this topic.
I only replace the file name by a template ("nam*")in both tFTPget an tFileList and now my job can massively transfer files and the delete it.
It's usefull!!!!
Didier
_AnonymousUser
Specialist III
Specialist III

Hi!!

Thanks a lot for this topic.
I only replace the file name by a template ("nam*")in both tFTPget an tFileList and now my job can massively transfer files and the delete it.
It's usefull!!!!
Didier
_AnonymousUser
Specialist III
Specialist III

Hi Shong,
I have similar job which you had discussed earlier ,i have kept put component between tFTPfilelist and tFTPdelete to place my file in output folder of diffrent server ,but I am getting the files which already been deleted in source folder along with new files.
please help me out 

Thanks,
Ajay