Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

syukyo_zhu
Contributor 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

Tags (2)
1 Solution

Accepted Solutions
MVP & Luminary
MVP & Luminary

Re: check file before reload from server ftp

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
2 Replies
MVP & Luminary
MVP & Luminary

Re: check file before reload from server ftp

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
Contributor III

Re: check file before reload from server ftp

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.