return code from last line of response

Sometimes the ftp server returns multiple lines of responses. This patch will return the code from the last line.
Merge pull request #3 from adamjimenez/patch-3

return code from last line of response