home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / winsock / wsftp32 / readme.nt < prev    next >
Encoding:
Text File  |  1995-05-19  |  11.9 KB  |  264 lines

  1.  
  2.  
  3. NT port comments by L. Kahn
  4.  
  5. You need to customize/and copy the ws_ftp.ini file to your winnt directory.
  6.  
  7.  
  8. The Windows NT port was much harder than expected, I have been slowly
  9. fixing problems and making enchancements to the system.  The following is a
  10. list of some of the changes made that I can remember.  If you want to
  11. actually look at all the changes get the original source from 129.29.64.246.
  12.  
  13.  
  14. added support for NTFS long file names. The system will not truncate on
  15. NTFS up to 220 char. names. with a max path name of 140 chars.
  16. On a fat file system it will truncate/rename to 8.3. (now only truncates
  17. on fat on win nt 3.1 since on 3.5 long names are now supported)
  18.  
  19. fixed problems where lparam and wparam were incorrectly used for
  20. messages and all the dialgs were screwed up. Also changed all the api
  21. and dialog entries to use the new win32 format.
  22.  
  23. fixed problem with the selection of a new setup name not filling in the
  24. remainder of the fields.  Changed lparam which should have been wparam.
  25.  
  26. added support to get other ftp server types by issueing the SYST
  27. command. The newer version of this program (source unavailable, see below does
  28. this).  Also added support for new ftp server types such as NT.
  29.  
  30. Added a new system option -d which enables the debugging window, 
  31. otherwise it does not pop up as before.
  32.  
  33. fixed problem with doing a strcpy and not checking for a null variable
  34. that caused an access violation under NT. Also fixed problem with newer
  35. version of qvt/winsock ftp server.
  36.  
  37. Added support so that double clicking on a local file uploads it, double
  38. clicking on a remote file downloads it.  By default you had to use the
  39. -> or <- arrows. There was a problem with the param. used for double
  40. clicking, howord(lparam) instead of hiword(wparam) was being used for
  41. the LBN_DBLCLK message.
  42.  
  43. fixed dialog box routines since makeprocinstance and freeprocinstance is
  44. not necessary under win32.
  45.  
  46. fixed problem with vax vms where when you switch to an empty directory there is no ..
  47. to switch back.  This is still even broken in current 16 bit version.
  48.  
  49. changed throughput messages on upload/download so that if it is over 1k it 
  50. prints out stats in K/sec rather than bps. 
  51.  
  52.  
  53.  
  54. NOTES: There is a newer version of this program available for windows 3.1. 
  55. It seems to have addressed many of the problems I have fixed and other 
  56. enhancements.  Unfortunately, when I sent a message to
  57. the original author describing the problems porting and all the fixes I had
  58. made, he didn't respond.  The latest source available for this program
  59. is as of DEC. 1993 and this is the version I used as a starting point.
  60. It appears the author does not want to make a newer source available
  61. since I asked for this and he did not respond.
  62.  
  63. Notes: on our new version of the solaris ftp server there is a bug when
  64. issueing the remotehelp command.  It hangs.  This program normally uses this
  65. command to try and figure out the server commands.  IT will hang if you attempt
  66. to connect to a version of the solaris server that has this problem. To get
  67. around this I have added a type solaris-unix set it to this and everything 
  68. should work fine.  IF you don't believe me try the nt native ftp app and issue
  69. the remotehelp command and the same problem will occur. i.e it will hang.
  70. (note this only occurs on solaris 5.2 it is fixed on solaris 5.3 it happened
  71. because the server was not sending the terminating line)
  72.  
  73. If other problems are found, please let me know at kahn@drcoffist.com
  74. or 71534,600 on compuserve. No promises but as I have time available I
  75. will try to look at specific problems with the NT version.  If someone
  76. else makes fixes/changes please forward me a copy of the updated source.
  77.  
  78. Thanks and good luck
  79.  
  80. larry kahn
  81. 910-630-0412
  82. kahn@kahn.pdial.interpath.net or kahn@drcoffsite.com or kahn@csn.org
  83. 71534,600 on compuserve
  84.  
  85.  
  86. newer version changes (06 94)
  87.  
  88. fixed stuff so fat partitions on nt daytona work with long file names.
  89. Also now support names such as name.name.name
  90. (on nt 3.1 fat it still will truncate names to 8.3)
  91.  
  92. Fixed startup parameters so that if you start up ws_ftp with the command
  93.  
  94. ws_ftp hostname:path/filename where there can be additional / in the path it
  95. will automatically sign on with user name anonymous and download the file.
  96. This is the behavior in the newer 16 bit version of ws_ftp and I'm mimicking
  97. it here so that you can interface with other tools such as warchie for instance.
  98. This also allows you to automatically use ws_ftp to download files as long
  99. as anonymous is enabled on the remote system.  It would not be hard to also
  100. add support for username password on the command line instead of anonymous logins
  101. if enough people are insterested I will implement it.
  102.  
  103. On installation also copy the file ws_ftp.ini to your winnt directory.
  104.  
  105.  
  106. added muti-threading in NT so that while remote operations are pending
  107. local operations can be performed.  This also enables message processing
  108. to happen during long remote operations so that the window is not all
  109. screwed up and you can now shrink it during a download
  110.  
  111.  
  112. Changed display to view
  113.  
  114. added an abort button but cannot get aborted remote operations to
  115. work reliably so for no no-oped out.
  116.  
  117. Updated connect/close buttons so that when relevant they are enabled or
  118. disabled.
  119.  
  120. Added text edit field boxes for directory selection like on the 16 bit
  121. newer version.  However for now cannot figure out how to interpret if a
  122. return key is pressed so you will have to click on another button or
  123. in the listing windows to get it to fire off after changing the text (ie you will have to change
  124. the focus. Note that this is case sensitive for the remote end because
  125. many unix system are case sensitive and also sensitive to whether or not
  126. the . is on a file name.
  127.  
  128. Also fixed a problem with vms files since fat (on daytona) now supports the entire
  129. file name is was downloading files like abc.de;1  ... Got rid of the
  130. final ; version number info (even though this may someday be desireable)
  131. it is a pain.
  132.  
  133. new version 06/29/94
  134.  
  135. finally got the abort code marginally working
  136.  
  137. had to wait for correct response on control socket if this does not
  138. occur withing 15 seconds times out and prints a message that you may
  139. need to close/exit the app since the abort failed.
  140.  
  141. You can now abort during downloads or uploads.  A warning is printed out
  142. since many servers do not handle the abort correctly and will abort but
  143. subsequent operations may not work.  IF this happens you can enable debuggin
  144. by running ws_ftp32 -d   and send me the log.  However, for many servers
  145. there is nothing I can do as is evident by this working on other servers.
  146.  
  147. If you abort during a remote directory operation you will not get the directory
  148. and will have to execute the change dir command to get a directory listing.
  149.  
  150. Also fixed stuff so when aborting it will close an open download file so it
  151. can be deleted. 
  152.  
  153. Also fixed a bug in the read routine that would hang ws_ftp because it
  154. thought a return value = 0 when the server didn't return anything meant
  155. continuation.
  156.  
  157. new version 10/06/94
  158.  
  159. Still works on either NT 3.1 or daytona NT 3.5
  160.  
  161. Will not work on windows under win32s since it uses multi-threads.
  162.  
  163. added a retries box to host dialog and to the ws_ftp.ini
  164. This field contries the number of retries for loggin on to a site.
  165. It can be used so that you can keep trying automatically all day et.,
  166. to log onto difficult sites such as cica that have a limited number of 
  167. connections. Because this could take a while it will ring 
  168. (asterisk sound) when connection
  169. is complete if you have the bell enabled in the options menu, or ding 
  170. (exclamation sound) if the connection fails after a certain number of retries.
  171.  
  172. Also added a mirror or download/upload directory and subdirectories function.
  173. Thanks for the idea Patty.  
  174. This function will download or upload an
  175. entiry directory tree(s).  Now you can select more than one directory in the
  176. local or remote directory window.  If you try to do this and then select the
  177. chgdir button an appropriate error message will appear.  However, if you select
  178. at least one legal directory (ie not [-a-] or ..) and also have no files 
  179. selected (file selection overrides directory selection) and then hit either
  180. the upload or download arrows (--> or <--) all the files in 
  181. the directory or directories selected and subdirectories will be downloaded or
  182. uploaded. Directories will be created along the way if necessary.  At the
  183. end of this entire operation a status message will be printed telling you how
  184. many files were transfered and how many directories were created and the overall
  185. throughput.  NOTE: You cannot do any local operations while this mirror operation
  186. is processing since both the remote and local dir windows are used, for this
  187. reason these windows and the local buttons and selection field 
  188. are tuned off during the operation.  The remote buttons don't have to 
  189. be turned off since there is already a check in place to only allow 1 
  190. remote operation at a time. Also you can get into an infinite loop
  191. if copying directories from you machine back to your own machine and the
  192. form and to directories coincide. Ie if copying from e:\net to e:\net\test you
  193. will put yourself in an endless loop.  I warned you... 
  194. Also If you can't figure out a way to easily turn off the last selected item
  195. in a list (necessary so that you can de-select all files to select only directories
  196. to start the mirror operation), you need to hit the cntrl key and then 
  197. select the last item with the mouse.
  198. I have also turned off (hidden) the remote and local dir windows and file list
  199. windows, and disabled the local action buttons during a mirror operation 
  200. since these windows are used and if the user selected something in one 
  201. of them or did some operation this would screw up the mirror operation.  
  202. They will be turned back on at the end of the operation or after aborting.
  203.  
  204. I have also added new boxes on the host dialog popup for ftp server port.
  205. There were a few requests for this to enable connection to ftp servers
  206. that use non-standard ports. The default is still the normal port (21). This
  207. setting is also saved in the ws_ftp.ini file just like the new retries setting.
  208.  
  209. Since Ive put quite a lot of effort into this new version donations will gladly
  210. be accepted.  Also I'm thinking of an x-windows unix version of the program
  211. if interested drop me a line.
  212.  
  213.  
  214.  
  215. larry kahn
  216. 6550 countryside drive
  217. fayetteville, nc. 28311
  218. 910-630-0412
  219. kahn@kahn.pdial.interpath.net or kahn@drcoffsite.com or kahn@csn.org
  220. 71534,600 on compuserve
  221.  
  222.  
  223. Addendum:
  224.  
  225. I know the user has also done a port of wsftp to windows NT,, he 
  226. however will not respond to any email I have sent him about the bugs I 
  227. encountered and fixed/etc.  I did send him my original port to nt...
  228.  
  229. Anyway I believe my version is better than his as with my multi-threading
  230. I can do a local operation while a remote one is pending and also resize/move
  231. the window around.  this cannot be done on his version ported to NT...
  232. and also the new retries and mirror directory function.
  233.  
  234. See for yourself what you think... I have put my version up here since the
  235. authors port is here and I thought that you may want to compare..
  236.  
  237. larry kahn
  238.  
  239.  
  240. updates 10/94
  241.  
  242.  
  243. as per a users recommendation the wait cursor was changed from an hourglass to 
  244. one which indicates better that operations can occur when others are pending
  245. also after a little work a makefile for an AXP version is provided along
  246. with an AXp excutable.  Since not much has really changed other than this
  247. the version number has not been updated for now.. Also note that you can 
  248. run multiple copies of wsftp32 without any problems... This is not made
  249. clear anywhere in the documentation....
  250.  
  251. In the cards resizing of the dir/file windows.... Any other user comments
  252. welcome....
  253.  
  254. updates
  255.  
  256. 10/25 version
  257.  
  258. found bug with very long file names ie. over 35 chars that would cause
  259. them not to be sent correctly or cause an access violation..
  260. fixed the problem.
  261.  
  262.  
  263.  
  264.