Page 1 of 1

simple and adv. upload dialog

Posted: Wed Aug 17, 2011 6:18 am
by Curtis Newton
Hi,

when I use the simple upload dialog everything is working (I can upload files). When I use the advanced one I get this error:

"Exception occurred when uploading file. Please make sure you have upload permission and the file is not restricted."

How to solve?

C.

Re: simple and adv. upload dialog

Posted: Wed Aug 17, 2011 7:09 am
by FTP
Please check out this KB article: http://www.wftpserver.com/bbs/viewtopic.php?f=5&t=142" rel="nofollow

Re: simple and adv. upload dialog

Posted: Wed Aug 17, 2011 9:30 am
by Curtis Newton
Thanks! How to achieve that simple dialog is standard? Or how to disable adv. dialog?

I am using cooperate edition.

C.

Re: simple and adv. upload dialog

Posted: Wed Aug 17, 2011 11:55 am
by FTP
You can edit the file "webclient/main.html", find and replace:

Code: Select all

<% if _GET["simpleupload"] ~= nil then %>
	var expdate = new Date(); 
	expdate.setTime(expdate.getTime() + (86400*1000)); 
	setCookie("singleuploadmode", "1", expdate); 
<% end %>
into:

Code: Select all

var expdate = new Date(); 
	expdate.setTime(expdate.getTime() + (86400*1000)); 
	setCookie("singleuploadmode", "1", expdate); 

Re: simple and adv. upload dialog

Posted: Sat Aug 20, 2011 7:07 am
by Curtis Newton
Bought a certificate from godaddy – adv. dialog is now working!

Thanks for the hint.

C.