| Product: Distinct VIT | Topic: HTTP | Last updated: 3/17/2008 |
| |
| Q.: How do I specify the HTTP headers such a cookie header? |
A.: To add additional header fields in the http request use the UserAgent property. For example:
MyHeader = "Mozilla" + Chr(13) + Chr(10) + "My Field: MyData"
Httpctrl.UserAgent = MyHeader
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: HTTP | Last updated: 3/17/2008 |
| |
| Q.: I would like my application to take over control when URL sites require user authentication, and use my own user interface to take any user input. How do I do this? |
A.: You can do this by using the AddUserAuthInfo method to pass the username, password and URL combination to the local cache. Whenever the URL is accessed this information is used for authentication and the ActiveX authentication dialog box will not be displayed.
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: RAS | Last updated: 3/17/2008 |
| |
| Q.: Upon disconnecting the phone line the sample application pops up a dialog box prompting the user to click on button to |
A.: If this error occurs you are most likely running an older version of the Microsoft Dialup Networking that had some problems. To solve this problem you need to upgrade to a newer version of Windows 95.
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: RAS | Last updated: 3/17/2008 |
| |
| Q.: When trying to run the RAS sample application the application responds with the error "Must be Initialized". What is the problem? |
| A.: This error occurs when you do not have the RNAPH.DLL from Microsoft on your system. Refer to MS Knowledge Base article Q157765 on how to get a copy of this file. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: RAS | Last updated: 3/17/2008 |
| |
| Q.: Will the RAS ActiveX component allow you to query the status of existing RAS connections? |
A.: Yes, the RAS ActiveX component allows you to query the status of existing RAS connections. The way to obtain the status of the connection is to first call the ListConnections() method and get the list of all active RAS connections through one or more OnListConnection events. The OnListConnection event gives the entry name as well as the Connection id for each connection. Using this Connection id as an input parameter you can then call the Status() method and get information about the status of each connection.
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: RShell, Rexec, Rcopy, RCP | Last updated: 3/17/2008 |
| |
| Q.: Does Rcopy need the Password property? |
| A.: No. Rcopy uses the Remote Shell Protocol (TCP port 514) which does not use a password. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: RShell, Rexec, Rcopy, RCP | Last updated: 3/28/2008 |
| |
| Q.: I am unable to make a RSHELL or REXEC connection using the RLIB and RCOPY ActiveX or DLL. |
A.: In order to be able to connect using RLIB (RSHELL & REXEC) you must make the PC running RLIB client, a trusted host on the Unix machine that you are trying to connect.
Here is an example of how to make your PC a Trusted Host.
Assuming you are trying to connect to a UNIX system called unix1.mydomain.com (192.0.0.1) and your pc is called mypc.mydomain.com (192.0.0.3) you must update the following files to be able to use Rexec, Rshell or Rcopy successfully:
Add the following entries in /etc/hosts file on the Unix system called unix1.mydomain.com:
192.0.0.3 mypc
mypc.mydomain.com
Add the following entries in the /etc/hosts.equiv file:
mypc
mypc.mydomain.com
Updating the /etc/hosts file allows a reference of the remote host by name. In some cases this file may NOT be read at all. If this is your case, you will have to update the appropriate hosts database file on that system. For example if the host uses a name server you will have to modify the name server's database to achieve the desired result.
If on the other hand you need to run Rcopy between two UNIX systems, you will need to do all of the above plus, when running the Rcopy command, both UNIX systems must have the other system defined in the hosts file and hosts.equiv files. So if your second system is called unix2.mydomain.com, add the following entry in /etc/hosts file
192.0.0.1 unix1
unix1.mydomain.com
192.0.0.3 mypc mypc.mydomain.com
Add the following entries in the /etc/hosts.equiv file:
unix1
unix1.mydomain.com
mypc
mypc.mydomain.com
In this case you will also need to add the information for unix2.mydomain.com to the hosts and hosts.equiv files on the unix1.mydomain.com system. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: RShell, Rexec, Rcopy, RCP | Last updated: 3/17/2008 |
| |
| Q.: What does RCP require on the server side to work? |
| A.: RCP requires the RSH-daemon to be running on the other system. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: SMTP, POP, MIME, IMAP | Last updated: 3/17/2008 |
| |
| Q.: Can I write an FTP client that only allows users to download files without allowing them to upload files. |
A.: Yes, you can write a client that only allows GET - However, the restriction is valid only when this FTP client is used. That is, if the user used a differnet FTP application and tries to PUT a file - it would work unless you restrict it from the server end.
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: SMTP, POP, MIME, IMAP | Last updated: 3/17/2008 |
| |
| Q.: I need my POP client to connect to a port other than the defualt well known port (110 for POP3 or 109 for POP2). |
A.: Distinct will automatically connect to the well known port of 110. If you are connecting through a firewall this may need to be changed. You can do this by editing the services file. This file is found under the Windows directory in Windows 95 and 98 and under system32/drivers/etc located under the WindowsNT directory in NT 4.0.
Add the following entry:
pop-3 1700/tcp
where: 1700 is the port number you want to connect to. Replace this with your actual port number. Note that Distinct does not read the pop3 entry but just pop-3.
Back to the top of the page
|
| |
Do you find this information useful ? Yes No Not Sure |
|