Quantcast
Channel: Reports & Macros
Viewing all articles
Browse latest Browse all 1120

Access denied when trying to get an Excel file from the Network folder

$
0
0

Hi Everyone,

I'm writing a Script that takes as input some excel files that are stored in the Network folder.

I'm using the following line of code to get it :

var csvFile = java.io.File("\\\\someadress\\filename.xls");

I get an error saying : line 41 \\someadress\\filename.xls (Access denied).

Why is the access denied ?

I saw here that someone had the same kind of problem but no one really had a solution.

Thank you 

Choose content type: 
Ask a question

Viewing all articles
Browse latest Browse all 1120

Trending Articles