This topic is locked

File uplad

4/14/2008 7:57:57 AM
PHPRunner General questions
F
Fawaz author

I have two main concerns for the file upload process:
1- How can I setup a dynamic file location? I know files are stored in $file_move but I don't know how to change it's value to multiple folder locations.

2- How can I prevent users from overwrite other files that have same file names?
I'd really appreciate if you can help me out.
Thanks,

Fawaz

F
Fawaz author 4/15/2008

Hi All,

Any help on these two issues?
Thanks,

Fawaz

B
bozzo 4/15/2008

Hi All,

Any help on these two issues?
Thanks,

Fawaz


Man.....that's a problem I'm having...

I tried something with the file permissions directly on linux....no solution yet...

But I got the file not being overwritten...but no alternatives to the name...

J
Jane 4/16/2008

Hi,
to prevent users from overwrite other files check off Add timestamp to filename option on the "Edit as" settings dialog on the Visual Editor tab.
To setup a dynamic file location edit generated files manually.

Unfortunately we don't have a ready to go solution for this.

F
Fawaz author 4/16/2008

To setup a dynamic file location edit generated files manually.


Hi Jane,

May I ask you what do you mean?
I saw many threads requesting dynamic multiple file upload locations. None of these threads has a direct answer.
Your help is really appreciated.
Thanks a lot,

Fawaz

Alexey admin 4/17/2008

Fawaz,
PHPRunner can not put uploaded files into dynamically specified locations.

You can extend PHPRunner functionality by adding your custom code to PHPRunner-created files.
Unfortunatelly we don't have a ready to go solution for this.