Question
cffile upload - cut and paste
Hi All,
I'm developing a knowledgebase and one of the things it allows a user to do is upload a document to a certain folder on the web server. I'm using a cffile with the upload mode and unique file name functionality which that if there is already a file with that name it changes the name of the file. The problem I'm having is within the approval stage to this kb. I need to allow the approver (user) to change the location of the file by cutting the file and paste it in a new folder and if the document already exists renaming it programmatically. I know the cffile upload has the ability to create a uniquefile name but how about cut and pasting? Any ideas?
Thanks!
James
I'm developing a knowledgebase and one of the things it allows a user to do is upload a document to a certain folder on the web server. I'm using a cffile with the upload mode and unique file name functionality which that if there is already a file with that name it changes the name of the file. The problem I'm having is within the approval stage to this kb. I need to allow the approver (user) to change the location of the file by cutting the file and paste it in a new folder and if the document already exists renaming it programmatically. I know the cffile upload has the ability to create a uniquefile name but how about cut and pasting? Any ideas?
Thanks!
James