UseWinInet Parameter

 Applet: DownloadClient and UploadClient
 Description:

JFile Version 2 provides three means of transferring data to or from the server: URLConnection, Sockets and WinInet (Note: WinInet is not available in JFile 1.x). The default transfer method for Windows/Unix/Linux with IE or Netscape 4.7x is URLConnection. The default transfer method for Mac + IE or Windows/Unix/Linux + Netscape 6.x is Sockets.

To transfer data through WinInet, set UseWinInet to 1.

WinInet is available with Windows and Internet Explorer before version 6.   If the client operating system is not Windows, and/or the client browser is not IE (before version 6), and UseWinInet is set to 1, JFile will use either,

  • URLConnection
    If the client system is Windows with Netscape 4.7x or Unix/Linux with IE or Netscape 4.7x.

    OR

  • Sockets
    If UseSockets is set to 1, or if the client is a Mac or Win/Unix/Linux + Netscape 6.x.  If both UseSockets and UseWinInet are set to 1, WinInet will be used on Windows/IE, and sockets on non-Windows/IE clients.

When transferring through WinInet, both the upload and download buffers are set to 16 KB. Decreasing the buffer size may impair performance, particularly with SSL.

In a WinInet download, if more than one of the URLs to download is an https location, JFile will automatically reset the transfer method to URLConnection.

Important!
WinInet requires Microsoft Virtual Machine (Microsoft VM) which was included with Internet Explorer browsers before version 6. IE 6 does not include Microsoft VM and as of September 2004, Microsoft will no longer support Microsoft VM.

See also, Transfer Methods, UseSockets, WinInetNTLM, WinInetTimeout, and WinInetUploadBufferSize.

 Example: <param name="UseWinInet" value="1">