Archived Forum Post

Index of archived forum posts


Will UploadFileByName create intermediate directories?

Mar 19 '17 at 03:25

As per the title does the UploadFileByName method create intermediate directories?

specifically if I upload to dir1/dir2/foo.txt will the directories dir1 and dir2 be created or will the upload fail

Accepted Answer

OK I have answered my own question by trying it.

No it doesn't create the intermediate directories.