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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
raptibhowal
Partner - Contributor II
Partner - Contributor II

Issue in reading the file from another server..

Hello All,

I want to see whether the file exist in a folder or not. And my folder location is in some other server location.

I had asked My IT team to share that folder to everyone and that folder is shareable.

I am writing below code to check whether file exist or not:

if (len(FileSize('//192.168.1.36/LESProcess/pod/'&DocketNo&'.txt'))>0,'Present','Absent') as ChkFile1

Kindly Help

Thankz in advance

5 Replies
ashishkalia
Partner - Creator
Partner - Creator

Use \\ instead of // this may help........

raptibhowal
Partner - Contributor II
Partner - Contributor II
Author

Thnkz for the quick reply but I checked with both of them.. Its is not working

ashfaq_haseeb
Champion III
Champion III

Hi,

You have to use complete UNC path.

Regards

ASHFAQ

raptibhowal
Partner - Contributor II
Partner - Contributor II
Author

Hi Ashfaq,

It is complete path That I have given.

ashfaq_haseeb
Champion III
Champion III

Hi,

Check this post

http://community.qlik.com/message/203090#203090

Regards

ASHFAQ