> I have added
> 
> safe doc dirs = <web>/uploads

Correct.


> When I use copy upload, do I just need reference '/uploads/'+$filename, or 
> must I include the <web> portion as well?

>From the docs:

"If inDestPath is absolute, it is considered a full path. If inDestPath is 
relative, it is relative to the default directory."

"/uploads/" is an absolute path.

The equivalent of <web> within Active4D code is 'get web root'. So the path 
would be:

join paths(get web root; "uploads"; $filename)

Kind regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to