Skip to content

put: CWD /localhost should not be invoked #14

Description

@tmysik

First - I have tested everything via lftp, no error, everything works.

Steps:

  • My config file deploy-localhost.yml (just for testing purposes) looks like:
'localhost':
  debug_mode: true
  skip: false
  scheme: ftp
  user: anonymous
  password: test@test.org
  host: localhost
  port: 21
  path: /pub/nette-skeleton
  passive: true
  • After running git-deploy deploy-localhost, I get:
localhost
Connecting to localhost
connect: localhost, 21
get: 220 Welcome to cattie only FTP service.
put: USER anonymous
get: 331 Please specify the password.
put: PASS *************
get: 230 Login successful.
put: CWD /localhost
get: 550 Failed to change directory.

I guess put: CWD /localhost is the culprit of the failure - is it a bug or have I anything incorrect in my config file?

Thanks.
PS: BTW if one makes a typo in scheme, exception is thrown instead of some user-friendly error.

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