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

Added code to create intermediary folders if missing, instead of returning an error #115

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Sothos
Copy link

@Sothos Sothos commented Mar 29, 2016

if FtpCwd tries to create /Folder1/Folder2 and Folder1 is missing, on some ftp servers it will return an error. I added a bit of code to try to create all missing folders in the inPath. Please review.

Thanks,
Eric Paquette

Modifies FtpCwd to create all subfolders in path if necessary
Better error-handling of invalid params
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.

1 participant