Skip to content

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

Open
Sothos wants to merge 2 commits intozonak:masterfrom
Sothos:master
Open

Added code to create intermediary folders if missing, instead of returning an error#115
Sothos wants to merge 2 commits intozonak:masterfrom
Sothos:master

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

Sothos added 2 commits March 24, 2016 15:59
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