Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Recursive File Creation

I do not believe this is currently possible. I think it would be reasonable to add support for this though, if you would like to enter a feature request. We would need to ensure there are no parent references in the path of course.

John




From:        Timur Sungur <timurhan.s@xxxxxxxxx>
To:        orion-dev@xxxxxxxxxxx,
Date:        08/23/2013 12:09 PM
Subject:        [orion-dev] Recursive File Creation
Sent by:        orion-dev-bounces@xxxxxxxxxxx




Hi,

Is there anyway to create a file and it's parents recursively. I mean
for instance "file/mworkspace/folder1" and I want to create the file
folder1/folder2/folder3/text1.txt. The folder2 and folder3 do not
exist however when I create text1.txt, they will be automatically
created.

Request Example

POST localhost:8080/folder1
Slug:"folder2/folder3/text1.txt"
Orion-Version: "1.0"

A similar request did not work but maybe there is a trick to make it work.

Thanks in advance.

Regards,

Timur
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev



Back to the top