login about faq

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

asked Mar 19 at 03:20

paulrbarnard's gravatar image

paulrbarnard
261


OK I have answered my own question by trying it.

No it doesn't create the intermediate directories.

link

answered Mar 19 at 03:25

paulrbarnard's gravatar image

paulrbarnard
261

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×218
×36

Asked: Mar 19 at 03:20

Seen: 208 times

Last updated: Mar 19 at 03:25

powered by OSQA