efeiefei / node-file-manager Goto Github PK
View Code? Open in Web Editor NEWFile manager web server based on Node.js with Koa, Angular.js and Bootstrap
License: MIT License
File manager web server based on Node.js with Koa, Angular.js and Bootstrap
License: MIT License
I have an error when try upload to a subfolder.
´´´
2016-01-23T11:10:11-0500 tools.js:16 (Object.module.exports.handelError) Error: Request aborted
at IncomingMessage.onReqAborted (/home/ubuntu/node_apps/node-file-manager/node_modules/multiparty/index.js:175:17)
at emitNone (events.js:67:13)
at IncomingMessage.emit (events.js:166:7)
at abortIncoming (_http_server.js:280:11)
at Socket.serverSocketCloseListener (_http_server.js:293:5)
at emitOne (events.js:82:20)
at Socket.emit (events.js:169:7)
at TCP._onclose (net.js:469:12)
Error: Request aborted
at IncomingMessage.onReqAborted (/home/ubuntu/node_apps/node-file-manager/node_modules/multiparty/index.js:175:17)
at emitNone (events.js:67:13)
at IncomingMessage.emit (events.js:166:7)
at abortIncoming (_http_server.js:280:11)
at Socket.serverSocketCloseListener (_http_server.js:293:5)
at emitOne (events.js:82:20)
at Socket.emit (events.js:169:7)
at TCP._onclose (net.js:469:12)
´´´
The issue is replicated in Windows and Linux.
Used second metod of installation (git clone)
Where can you change the path its now ./ but i wil change it
The following error is thown on invocation
/usr/local/lib/node_modules/node-file-manager/node_modules/koa/node_modules/composition/index.js:111
function* promiseToGenerator(promise) {
^
SyntaxError: Unexpected token *
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/node-file-manager/node_modules/koa/lib/application.js:10:19)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
/usr/local/lib/node_modules/node-file-manager/node_modules/koa/node_modules/composition/index.js:111
function* promiseToGenerator(promise) {
^
SyntaxError: Unexpected token *
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/node-file-manager/node_modules/koa/lib/application.js:10:19)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
Hello!
I am using your file manager in order to browse through files and download them from my server.
I would like to suggest just a couple of improvements:
Would you prefer that I write a pull request, or would a fork be better?
Thanks
Dany
cancel
Great app! My users would like to multi-select files to download, and this currently does not work.
I am little clueless on how i can integrate this node-file-manager with my existing webapp. So i cloned the project and i was able to run it but what i observed is it doesn't have a module exported which i can use directly in my existing webapp. My app is developed on meanstack.
I don't want to copy paste the code in my project rather use node-file-manager as npm library or something of that sort
Pull request coming, uses JSZip to generate a .zip of selected files/directories.
Hi man,
Check the following file manager https://github.com/jdnichollsc/Roxy-Fileman-for-Node.js
Regards, Nicholls
stupid question but I dont manage to run this with forever I tries to run the sh file in bin with forever but it didn't work
Cool project.
Will it support drag-drop uploading, and directory uploading?
Feature Request: Would like simple password protection. Wouldn't mind hardcoding it into the code either.
I found that any file with # ? or \ in its name could not be accessed.
I figure, once you can list the filenames, you then should also be able to access them.
Hi,
I absolutely love this application! I was wondering if this concept could be extended to a standalone webapp, just as a place to upload and download files that are stored in a database. How would one go about developing such an app? Thank you in advance!
Best,
Sameer
like the title
Links inside a directory with umlauts (äöü) are not working.
Example:
mkdir -p umlaut/ä/test
node-file-manager -p 8080 -d $PWD
Now you can navigate to umlaut/ä/
but umlaut/ä/test
will return Error: 404Path Not Exists!
because the path is URL-encoded twice (%25C3%25A4
instead of %C3%A4
)
/usr/local/lib/node_modules/node-file-manager/node_modules/koa/node_modules/composition/index.js:116
return yield Promise.resolve(promise);
^^^^^^^
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/node-file-manager/node_modules/koa/lib/application.js:10:19)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
I modify something to make it run on Windows
node-file-manager.cmd
"%~dp0\node_modules\node-file-manager\bin\node-file-manager.bat" %*
node_modules\node-file-manager\bin\node-file-manager.bat
%~d0
cd %~dp0../lib
node --harmony index.js %*
I hope it can be used in npm,otherwise i will have to modify it every time after npm install....
How to set user and password
Is it possible to add a File Editor easily?
Has someone done this before, I'm looking basically for a HTML and/or Javascript Editor.
it would be helpful if support choose multiple files when upload
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.