tris203 / disftp

FTP Implementation of Disbox
https://github.com/tris203/disftp
7 stars 2 forks source link

while i uploading the app says no such file or directory and disconnects me #24

Closed furllmm closed 11 months ago

furllmm commented 11 months ago

log is here Error: ENOENT: no such file or directory, open 'E:\disbox\dist\tmp\toucan.7z' Emitted 'error' event on WriteStream instance at: at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'E:\disbox\dist\tmp\toucan.7z' }

tris203 commented 11 months ago

What size is the file? and what FTP client are you using?

furllmm commented 11 months ago

29 KB i tried few byte of txt file same problem too

furllmm commented 11 months ago

winscp

furllmm commented 11 months ago

also happenes same to 2MB file too

tris203 commented 11 months ago

The tmp path is meant to be at the level above

Individual systems are hard to debug

I would suggest the docker container

tris203 commented 11 months ago

Just another thought. Are you running npm start from in the dist folder?

Try running it from the main project folder

furllmm commented 11 months ago

Try running it from the main project folder worked but i cannot upload folders

tris203 commented 11 months ago

Yeah. Uploading a folder isn't supported yet I don't think