Add a comment. Active Oldest Votes. Improve this answer. Reza Bayat Reza Bayat 2 2 silver badges 5 5 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Who owns this outage? Building intelligent escalation chains for modern SRE.
Podcast Who is building clouds for the independent developer? Featured on Meta. I faced a corruption issue when sending the written xlsx as a buffer out through express, but encoding as base64 solved it:. Yes I tried that before resorting to using base64 as I'm aware of the huge inefficiency in that approach but, no, it didn't work. I'll switch it back and gather more information. So with buffer output I just get the unable to read file malarkey in excel.
There appears to be some strange subtle differences in the files and if hexdumps mean anything to you I'll be able to get the headers of good and bad files to compare tomorrow. Add a line. That should always give a buffer:. Don't worry, it's clearly something weird and hopefully only specific to our use case.
When I have a chance to go on a debugging expedition I'll update you. If it is valid, then there must be an issue in the client code. It provides a saveAs function that the write demos use. If angular isn't messing with the raw binary data, I assume something like this could work. Then I try to impelemnt download file binary from server. Could you please tell me what I do wrong on client code?
I encountered the same issue. Using the base64 type and File-Saver, I was able to get it to work. The best approach if you need to support generation in safari is to punt to the server. The actual code that generates the file runs in Safari, which you should be able to verify by roundtripping in the browser:. Could it because you are using connect-livereload plugin? The plugin seems cause corrupted binary files being transferred.
I've encountered the same, and solved it by adding 'ignore' when initiate connect-livereload plugin. Please rate your experience Yes No. Any additional feedback? Note Non-subscription versions of Office support requirement sets as follows: Office supports ExcelApi 1.
Office supports ExcelApi 1. Office only supports the ExcelApi 1. Note This section assumes you're familiar with the overview of requirement sets at Office versions and requirement sets and Specify Office applications and API requirements. Submit and view feedback for This product This page. View all page feedback. In this article. Latest see requirement set page.
0コメント