# Create a directory path desktop

**URL:** <https://www.ruby-forum.com/t/create-a-directory-path-desktop/102757>\
**Category:** Deployment\
**Created:** [April 24, 2007, 11:04am UTC](https://www.ruby-forum.com/t/create-a-directory-path-desktop/102757 "2007-04-24T11:04:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![massinissa\_mecharek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/aca169/32.png) [@massinissa\_mecharek](https://www.ruby-forum.com/u/massinissa_mecharek)\
**Post date:** [April 24, 2007, 11:04am UTC](https://www.ruby-forum.com/t/create-a-directory-path-desktop/102757/1 "2007-04-24T11:04:41Z")

</div>

I my rails application i want to create for each costumer a space  
(directory) where he saves their uploaded files

for example a costumer is autehntifies by his destop\_id and user\_id i  
want to create (@desktop\_id/user\_id) path  
???  
thanks  
if possible also the script to copy a file

---

<div class="post-metadata">

**Author:** ![massinissa\_mecharek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/aca169/32.png) [@massinissa\_mecharek](https://www.ruby-forum.com/u/massinissa_mecharek)\
**Post date:** [April 24, 2007, 11:04am UTC](https://www.ruby-forum.com/t/create-a-directory-path-desktop/102757/2 "2007-04-24T11:04:59Z")

</div>

massinissa mecharek wrote:

> I my rails application i want to create for each costumer a space  
> (directory) where he saves their uploaded files
> 
> for example a costumer is autehntifies by his destop\_id and user\_id i  
> want to create (@desktop\_id/user\_id) path  
> ???  
> thanks  
> if possible also the script to copy a file
