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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
syukyo_zhu
Creator III
Creator III

check file before reload from server ftp

Hi,

I should download files from a server ftp. In some cases, there is missing of some files.

So i want to check if all files are included on the FTP.

I tried to find some informations here, but it seems file fonction(like filesize()...) aren't supported by ftp.

Someone know if there are others ways to do it.

Thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use a tool like curl or wget to get a list of files from the ftp server and then check that list.

bash - How to get a list of available files using wget or curl? - Stack Overflow


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use a tool like curl or wget to get a list of files from the ftp server and then check that list.

bash - How to get a list of available files using wget or curl? - Stack Overflow


talk is cheap, supply exceeds demand
syukyo_zhu
Creator III
Creator III
Author

This is a good idea.

I created a list including all files expected. And i use a batch file to get a list of file as you indicated.

And then i compare these 2 list for getting missing file.

Thanks.