Skip to content

Can you give example of your configuration? #7

Description

@vicheanak

!/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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions