i have the following code
<cfif isdefined("form.picture") and len(form.picture)>
<cffile action="UPLOAD" destination="#expandPath('
\" filefield="form.picture" accept="image/pjpeg" nameconflict="MAKEUNIQUE">
<cffile action="RENAME" source="#expandPath('.')#\
<!---<cfmail to="" from="#session.auth.email"
>The following image was uploaded by #session.user.username# to be used in the Organization Chart and as their managment photo for Carreer Planning</td>
which is on the development server, i would like the image path to be defined by the server so that the path does not need to be hardcoded, this way the same code will work on the development server and the production server
path needs to be: http://server.com/path/to/file.jpg
as the image needs to be part of a third party confirmation email