It is very troublesome if you encounter Chinese characters when uploading files, but users cannot change the file name before uploading it, so the file name is automatically generated. Just modify the commands.asp in the fckeditor/editor/filemanager/connectors/asp folder.
Look for it in this file: FileUpload
will find this function
Bundle
Copy the code code as follows:
DimsFilePath
sFilePath = CombineLocalPaths(sServerDir, sFileName)
Change to
Copy the code code as follows:
Dim sFilePath,ranNum
Randomize
ranNum=int(90000*rnd)+10000
sFilePath = CombineLocalPaths(sServerDir, year(now)&month(now)&day(now)&hour(now)&minute(now)&second(now)&.&sExtension)
That’s it