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: 
Not applicable

Map a drive and get a file

I need to map to a drive and then copy a file from that drive to our server. How would I do this?

Thanks,
Stephen

6 Replies
Jason_Michaelides
Partner - Master II
Partner - Master II

From within QlikView?

Not applicable
Author

Yes, the script needs to map the drive and and get the file so the script can then "process" the file.

Stephen

Not applicable
Author

Yes, the script needs to map the drive and and get the file so the script can then "process" the file.

Stephen

Jason_Michaelides
Partner - Master II
Partner - Master II

Try using the EXECUTE function to call a .bat file that uses the "net use" command.

Not applicable
Author

Yes, that is what I currently am doing. But I would like to get it all into a QV document.

Stephen

Jason_Michaelides
Partner - Master II
Partner - Master II

I don't think there's a COPY command within QV - that's not really what it's for. Why are you not able o use a simple bat file? You may not even have to use "net use" - a simple copy coats and a UNC path should suffice.