git-deploy icon indicating copy to clipboard operation
git-deploy copied to clipboard

put: CWD /localhost should not be invoked

Open tmysik opened this issue 13 years ago • 0 comments

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: [email protected]
  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.

tmysik avatar Feb 03 '12 12:02 tmysik