Home > Article > Web Front-end > Upload a file on your local drive into HTML on your local file system using the File System API
To upload from local drive to the local file system, we can use −
All of the above is working fine in Google Chrome.
WebKit directory is a much better option among these. Use the following for directory −
webkitRequestFileSystem( window.TEMPORARY, 5 * 1024 * 1024, function(_fs) { fs = _fs; }, Err
上面,err和fs是−
var fs, err = function(err) { throw err; };
The above is the detailed content of Upload a file on your local drive into HTML on your local file system using the File System API. For more information, please follow other related articles on the PHP Chinese website!