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

UploadFile results in a panic when a none existing local path is given #2

Open
GoogleCodeExporter opened this issue Oct 27, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Hi,

When using the FTP.UploadFile method and given it a none existing localpath, 
you'll get a panic instead of an error "open ...: no such file or directory". 
It is trying to close the file pointer even when the file couldn't be opened in 
the first place.

Thank you for your time developing this package, you're AWESOME!

Djuke

Original issue reported on code.google.com by [email protected] on 25 Oct 2013 at 7:13

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

No branches or pull requests

1 participant