simple and adv. upload dialog

Please post here if you have problems in using Wing FTP Server.
Post Reply
Curtis Newton
Posts: 7
Joined: Mon Aug 15, 2011 6:55 pm

simple and adv. upload dialog

Post 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.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: simple and adv. upload dialog

Post by FTP »

Please check out this KB article: http://www.wftpserver.com/bbs/viewtopic.php?f=5&t=142" rel="nofollow
Curtis Newton
Posts: 7
Joined: Mon Aug 15, 2011 6:55 pm

Re: simple and adv. upload dialog

Post by Curtis Newton »

Thanks! How to achieve that simple dialog is standard? Or how to disable adv. dialog?

I am using cooperate edition.

C.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: simple and adv. upload dialog

Post 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); 
Curtis Newton
Posts: 7
Joined: Mon Aug 15, 2011 6:55 pm

Re: simple and adv. upload dialog

Post by Curtis Newton »

Bought a certificate from godaddy – adv. dialog is now working!

Thanks for the hint.

C.
Post Reply