Comments (8)
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.
Any fix for this ? @evanplaice
from node-ftpsync.
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.
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.
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.
Still getting the same error.
The file permissions on the remote are
For downloads
from node-ftpsync.
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.
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)
- some problem when using the lib HOT 1
- I forked your node-fptsync, and start my own branch HOT 2
- Using the client as the slave with a readonly FTP connection HOT 1
- Timestamp comparison logic HOT 9
- 550 : Cannot create a file when that file already exists HOT 9
- Migrate documentation from Google Code
- Break up the documentation into separate files
- Add CONTRIBUTING.md
- 503 Bad Sequence of Commands HOT 13
- Use 'ftp-test-server' for testing
- ftpsync stops uploading after x files HOT 1
- Pass path to config.json as argument HOT 2
- TypeError: Cannot read property 'on' of undefined HOT 3
- Ignoring remote folders ?
- Not syncing important files because filesize is the same HOT 2
- Cannot sync all files of a folder HOT 1
- DeprecationWarning: Ftp.raw[user](args): Use Ftp.raw('user args') instead HOT 3
- (node:9316) DeprecationWarning: Ftp.raw[stat](args): Use Ftp.raw('stat args') instead. HOT 3
- TypeError: ftp.raw.mkd is not a function HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-ftpsync.