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

Update FtpComponent.php #8

Merged
merged 1 commit into from
Dec 11, 2015
Merged

Update FtpComponent.php #8

merged 1 commit into from
Dec 11, 2015

Conversation

d4rkstar
Copy link
Contributor

@d4rkstar d4rkstar commented Dec 9, 2015

Hello, it seems that get and put have $mode in wrong place.
I've also fixed the event onFileDownlaoded in get method. It seems that for some reason the code contained an undefined variable. I think that $local_file is the right one.

get and put have $mode in wrong place.
@hguenot
Copy link
Owner

hguenot commented Dec 9, 2015

Hi,

Thanks for your help. 2 errors in your pull request :

  1. in method get, $mode must have a default value (because $local_file got one)
  2. in method put, it will be better to have same format than get method... $mode should be the third parameter

Best regards
HG

hguenot added a commit that referenced this pull request Dec 11, 2015
Update FtpComponent.php
@hguenot hguenot merged commit 597772c into hguenot:master Dec 11, 2015
@d4rkstar
Copy link
Contributor Author

Sorry I was a bit busy. I see that you've already fixed all. You may also check whether you have upgraded Packagist? It seems to be behind at commit c05fcb0.

@hguenot
Copy link
Owner

hguenot commented Dec 12, 2015

Hi. Packagings bas bien updates. Y ou coule usé version V2.1.2.
Thanks for tour help.

@d4rkstar
Copy link
Contributor Author

Great! Thank you!

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

Successfully merging this pull request may close these issues.

None yet

2 participants