Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you give example of your configuration? #7

Open
vicheanak opened this issue Jun 5, 2016 · 2 comments
Open

Can you give example of your configuration? #7

vicheanak opened this issue Jun 5, 2016 · 2 comments

Comments

@vicheanak
Copy link

!/bin/sh

if [ "upload" == $1 ];then
ncftpput -m -u login_name -p login_password -P 21 remote_host remote_path/$2 dirname $0/$2/$3
elif [ 'download' == $1 ];then
ncftpget -u login_name -p login_password -P 21 remote_host dirname $0/$2 remote_path/$2/$3
fi

username: spider
password:12345
remote_host: ftp.mysite.com
remote_path: /hello/world

thanks

@peidong
Copy link

peidong commented Jun 13, 2016

Same problem here. I am getting confused about how to use this plugin.

Thanks!

@FoushWare
Copy link

i can't use this plugin
it always give me
./.sync: 2: [: upload: unexpected operator
./.sync: 4: [: download: unexpected operator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants