Search Results for

    Show / Hide Table of Contents

    FileInfo is either a File object or a Blob that has its 'name' set to the file's name.

    var file = new File(contents, 'sampledata.dat', { type: 'application/octet-stream' });
    
    var file = new Blob(contents, { type: 'text/plain' });
    file.name = 'myfile.txt'
    
    In This Article
    Back to top Hitachi Solutions JS Library