I'm using ckfinder
with ckeditor
in asp.net mvc 5 project. I want to rename images before upload, such as Image.name = DateTime.Now + Guid.NewGuid()
.
How to do this?
I'm using ckfinder
with ckeditor
in asp.net mvc 5 project. I want to rename images before upload, such as Image.name = DateTime.Now + Guid.NewGuid()
.
How to do this?
I had the same problem and i figured out how to solve it. I answered my own question here: CKFinder. Rename uploaded files
Uploaded files are delivered to your controller actions either as HttpPostFiledBase someName
, or as a member of Request.Files
, your app code will be responsible for looping through these uploads, picking a file name for them, and saving them.
Can you clarify where you are having difficulty?