Download and upload issues with NetStorage

  • 3592807
  • 23-Oct-2006
  • 07-Oct-2015

Environment

Novell NetStorage
Novell NetWare 6.5
OES 1
OES 2
OES 11

Situation

Symptoms:
When trying to upload files, getting an empty popup box.
When trying to download files, screen refreshes and nothing happens.
When trying to download files, the downloaded file is not the desired file but a html file with error: "403 the document has been moved"
When trying to download files, the downloaded file is not the desired file but a html file with error: "301 Moved Permanently"

Resolution

The key configuration file to resolve most of the issues with uploads and downloads is:

NetWare 6.5:
sys:\tomcat\4\webapps\Netstorage\WEB-INF\classes\Settings.properties

OES 1:
/var/opt/novell/tomcat4/webapps/NetStorage/WEB-INF/classes/Settings.properties

OES 2:
/var/opt/novell/tomcat5/webapps/NetStorage/WEB-INF/classes/Settings.properties


1. if NAT-ing the access to NetStorage from outside,  add this line to the above mentioned file:

ServerName = "IP address bound to the NetStorage server network card"

the file should look like this after the change:

ServerProtocol = http://
ServerPort = 80
MailHost = mail.host.com
ServerName = 10.10.10.1 (IP address of your server)

2. if forcing access to NetStorage on https (port 443), change these lines

ServerProtocol = http://
ServerPort = 80

to

ServerProtocol = https://
ServerPort = 443

After making these changes, restart tomcat:

NetWare 6.5:
tc4stop
tomcat4

OES 1:
rcnovell-tomcat4 restart

OES 2:
rcnovell-tomcat5 restart