Hi Is it possible to create a view of the files on a server. I am new to coldfusion but have successfully created a file upload page using cffile. Using the code below taking values(file) from a form.
<cffile action="upload"
destination="#GetDirectoryFromPath(GetCurrentTemplatePath())#\"
nameconflict="overwrite"
filefield="Form.fileName">
<cfif cffile.fileWasSaved EQ "NO" and cffile.fileWasOverwritten EQ "NO">
The file #cffile.ClientFileName#.#cffile.ClientFileExt# failed to upload.
<cfelse>
You uploaded #cffile.ClientFileName#.#cffile.ClientFileExt# successfully
to the following directory : #serverDirectory##serverFile#
</cfif>
</cfoutput>
Now i would like to see these files,i and later maybe have finctionality to move name ,rename them through a "explorer" type interface in my browser. Any Help much appreciated.
Simon
<cffile action="upload"
destination="#GetDirectoryFromPath(GetCurrentTemplatePath())#\"
nameconflict="overwrite"
filefield="Form.fileName">
<cfif cffile.fileWasSaved EQ "NO" and cffile.fileWasOverwritten EQ "NO">
The file #cffile.ClientFileName#.#cffile.ClientFileExt# failed to upload.
<cfelse>
You uploaded #cffile.ClientFileName#.#cffile.ClientFileExt# successfully
to the following directory : #serverDirectory##serverFile#
</cfif>
</cfoutput>
Now i would like to see these files,i and later maybe have finctionality to move name ,rename them through a "explorer" type interface in my browser. Any Help much appreciated.
Simon