Code Monkey home page Code Monkey logo

Comments (8)

mtuchi avatar mtuchi commented on July 18, 2024

Me too
my error logs

`MKDIR failed.
MKDIRs failed.
Commit failed.
{ Error: 550 Create directory operation failed.
at Ftp.parse (/home/mtuchi/Workspace/C4T-Ed/node_modules/mtuchi_ftpsync/node_modules/jsftp/lib/jsftp.js:223:11)
at Ftp.parseResponse (/home/mtuchi/Workspace/C4T-Ed/node_modules/mtuchi_ftpsync/node_modules/jsftp/lib/jsftp.js:146:8)
at Stream.pipeline.on.data (/home/mtuchi/Workspace/C4T-Ed/node_modules/mtuchi_ftpsync/node_modules/jsftp/lib/jsftp.js:112:10)
at emitOne (events.js:115:13)
at Stream.emit (events.js:210:7)
at ResponseParser.reemit (/home/mtuchi/Workspace/C4T-Ed/node_modules/mtuchi_ftpsync/node_modules/duplexer/index.js:70:25)
at emitOne (events.js:115:13)
at ResponseParser.emit (events.js:210:7)
at readableAddChunk (/home/mtuchi/Workspace/C4T-Ed/node_modules/mtuchi_ftpsync/node_modules/readable-stream/lib/_stream_readable.js:195:16)
at ResponseParser.Readable.push (/home/mtuchi/Workspace/C4T-Ed/node_modules/mtuchi_ftpsync/node_modules/readable-stream/lib/_stream_readable.js:162:10) code: 550 }
,

from node-ftpsync.

mtuchi avatar mtuchi commented on July 18, 2024

Any fix for this ? @evanplaice

from node-ftpsync.

evanplaice avatar evanplaice commented on July 18, 2024

Good question. What does your config look like. Are there any file permission issues.

Currently, this tool depends on some outdated JSFTP features. It would be best to workaround those first. My attention is currently devoted to other projects. If you'd like to work on this I'll provide guidance/support. Otherwise, it's going to be on the back burner for a bit.

from node-ftpsync.

mtuchi avatar mtuchi commented on July 18, 2024

My config file look like this
{ "local": "assets/storage/", "remote": "downloads", "host": "10.0.0.1", "port": 21, "user": "***", "pass": "****", "connections": "2", "ignore": [ ".htaccess" ] }

I have a micro controller that i can access on that ip address 10.0.0.1

from node-ftpsync.

evanplaice avatar evanplaice commented on July 18, 2024

Try starting the relative directories with ./

{ "local": "./assets/storage/", "remote": "./downloads", "host": "10.0.0.1", "port": 21, "user": "", "pass": "*", "connections": "2", "ignore": [ ".htaccess" ] }

Do the directories have read, write, and list access enabled?

from node-ftpsync.

mtuchi avatar mtuchi commented on July 18, 2024

Still getting the same error.

The file permissions on the remote are
For downloads
downloads

For a folder inside downloads
wiki

from node-ftpsync.

evanplaice avatar evanplaice commented on July 18, 2024

Try changing permissions on downloads to 666 (rw for user, group, all). It's possible that node is running as a user other than the one you're logged in as. In which case it won't be able to write to downloads.

from node-ftpsync.

mtuchi avatar mtuchi commented on July 18, 2024

The downloads permission are fixed to 755 i can not change that
Do you think that might be the issue ?

from node-ftpsync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.