Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
450 views
in CompleteFTP by (120 points)
In other words, can it be set up separate HTTPS File Managers can be set up for different purposes?
by (51.6k points)
Probably yes, but can you please provide some more details so that I can tell you more definitely?  What are the different purposes that you need them for?
by (120 points)
Come to think of it, we might not need separate file managers. The main thing would be the login page. The idea would be to associate certain users (as a group, if necessary) with a particular login page, depending on which of our companies the user is interacting with.

We might consider something similar if we decide to modify the file manager, so I'd like to know if different file managers could be associated with either a particular login page or some other useful criteria based on the company the user is interacting with. Although I would like to know if something like this is doable, we probably wouldn't have to go that far.

Also, while I have you on the line, does your mobile file manager support both Android and iOS?

Thanks

1 Answer

0 votes
by (51.6k points)

Assuming that users access the different companies via different domain-names then, yes, you can make the login page look different for different companies.

You can do this by changing the script that generates the login page.  You can find this script at

C:\ProgramData\Enterprise Distributed Technologies\Complete FTP\Login\index.jss

If you change the line:

response.writeUsingTemplateFile("template.html", templateData);

to

response.writeUsingTemplateFile("template-" + request.uriParts.host + ".html", templateData);

then the script will build the login page using files called:

  • template-company1.com.html
  • template-company2.com.html

where company1.com and company2.com are the domain-names of two of the companies.  Obviously you need to substitute the actual domain names. 

All you need to do is copy the existing template.html file to those file-names and then customize each of them as required.

Does that make sense?

Categories

...