Dear All,
I run Fileman on a FreeBSD system and IŽd like to upload filenames which consist of a mixture of upper- and lowercases. The script has been designed to automatically reduce all filenames to lowercase. How can I modify the following to allow uppercase (sorry, I never had to touch a Javascript before).
Thank you,
Philipp
function serverFileName() {
var fileName = window.document.Upload.data.value.toLowerCase();
window.document.Upload.fn.value = fileName.substring(fileName.lastIndexOf("\\\\")
+ 1,fileName.length);
I run Fileman on a FreeBSD system and IŽd like to upload filenames which consist of a mixture of upper- and lowercases. The script has been designed to automatically reduce all filenames to lowercase. How can I modify the following to allow uppercase (sorry, I never had to touch a Javascript before).
Thank you,
Philipp
function serverFileName() {
var fileName = window.document.Upload.data.value.toLowerCase();
window.document.Upload.fn.value = fileName.substring(fileName.lastIndexOf("\\\\")
+ 1,fileName.length);