|
Product |
JFile |
Version |
2.x |
Title |
File transfer fails when using SSL |
Problem |
If an upload or download fails when using SSL, but works without SSL, it could be that your connection method has been unknowingly set to sockets, which does not support SSL.
Version 1.x of JFile had URLConnection as the default transfer method, no matter what size the transfer. URLConnection will work with SSL, but cannot handle large file transfers efficiently. In version 2.0, JFile by default has the AutoSetTransferMethod parameter enabled. This parameter, when set to "1" will automatically switch the connection method to sockets when the tranfer size is greater than 16 MB, except in certain circumstances. (such as when the client is a MAC+IE, or when UseWininet is enabled and the client is a PC+IE. See documentation for details).
|
Solution |
For the greatest support for SSL, the following steps are recommended:
For information about the various transfer methods, including a decision chart, see:
http://support.softartisans.com/docs/sajfiledocs/prog_g_transfermethods.htm
  |
Created : 12/1/2002 12:00:00 AM (last modified : 11/19/2001 3:06:00 PM) |
|