We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
dirname $0
username: spider password:12345 remote_host: ftp.mysite.com remote_path: /hello/world
thanks
The text was updated successfully, but these errors were encountered:
Same problem here. I am getting confused about how to use this plugin.
Thanks!
Sorry, something went wrong.
i can't use this plugin it always give me ./.sync: 2: [: upload: unexpected operator ./.sync: 4: [: download: unexpected operator
No branches or pull requests
!/bin/sh
if [ "upload" == $1 ];then
ncftpput -m -u login_name -p login_password -P 21 remote_host remote_path/$2
dirname $0
/$2/$3elif [ 'download' == $1 ];then
ncftpget -u login_name -p login_password -P 21 remote_host
dirname $0
/$2 remote_path/$2/$3fi
username: spider
password:12345
remote_host: ftp.mysite.com
remote_path: /hello/world
thanks
The text was updated successfully, but these errors were encountered: