Regarding issue for upload 's parth

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
xiaobing
Posts: 11
Joined: 30 Apr 2018, 03:53

Regarding issue for upload 's parth

Post by xiaobing »

HI ,
I am facing a issue for uploading different document to different folder in server upload folder.
I have two main projects and each project have subprojects and subprojects have subprojects too. like below
project a --> subproject a1,a2,a3...

project b -->subproject a1,a2,a3,....

but I need to upload pics baases on subproject's subproject. that mean I need to categorize the folder and each folder has it's own upload path :
./upload/project a/a1
...................../a2
....................../a3
...

./upload/project b/a1
./upload/project b/a2
....

I tried but the problem is the name for the subproject is the same , when i create the path there looks can not create the path
like this:
./upload/project a/a1

./upload/project b/a1

seperately
Attachments
11.png
11.png (83.86 KiB) Viewed 2355 times
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Regarding issue for upload 's parth

Post by atrol »

xiaobing wrote: 24 Aug 2018, 08:32 I tried
What does it mean? What did you do?
Please use Search before posting and read the Manual
xiaobing
Posts: 11
Joined: 30 Apr 2018, 03:53

Re: Regarding issue for upload 's parth

Post by xiaobing »

Hi atrol,
Sorry for not state it clearly, I mean for the structure of "all project" selection dropdown area. At present, our structure is like the graph :we have two projects : 1.operation &maintenance 2. waterproof project and under each project there are all same kinds of sub-project (you can see it at graph).
But It will make me confuse when I do "create project" (Manage->Manage Projects->Create New Project ) ,there will show "Add Project" (see graph)

My question is how can I separate those "Upload File Path " with different projects but same named subproject?
(at present when set this upload file path
for eaxample : for project Operation & Maintenance - HDB 5 -Sembawang town Council when I set the path as :\www\Mantis1\upload\Opeartion & maintenance\HDB P5\Sembawang Town Council\ for project but for waterproof project 's subproject Sembawang Town Council will automatically change to \www\Mantis1\upload\Opeartion & maintenance\HDB P5\Sembawang Town Council\ but my expectation will be \www\Mantis1\upload\waterproof project\HDB P5\Sembawang Town Council\ for project .

Thank you
Attachments
4.png
4.png (29.83 KiB) Viewed 2337 times
2.png
2.png (39.85 KiB) Viewed 2337 times
1.png
1.png (66.85 KiB) Viewed 2337 times
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Regarding issue for upload 's parth

Post by atrol »

I am not sure if I understand what you want.

Project names must be unique in Mantis, it's a non feature requests to have multiple subprojects with the same name https://www.mantisbt.org/bugs/view.php?id=6227

Upload paths are independent from that.
Each project can have it's own upload path or multiple projects can share the same path.
Please use Search before posting and read the Manual
Post Reply