Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

saving an excel file to windows server using javascript

Status
Not open for further replies.

puckhogs98

Programmer
Apr 3, 2010
2
CA
Hello

I have a SAS program that generates an HTML file that contains Javascript code. The Javascript code that is in the HTML file creates an excel file that contains multiple charts on multiple worksheets.

I tried issuing the saveAs excel command to save the excel file to one of our Intranet Windows File Servers.

When I executed the Javascript code, it failed.

When I changed the directory path to my local D: drive it works perfectly!!

Any Clues???

Is there a limitation for Internet Explorer that prevents files from being created on Windows File Servers?

Thanks Vic
 
Sorry for the dumb question but ... does the PC has permissions to write there? What error are you getting?

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top