2006/09/01 - the_jk
    ** Made the timeout values abit nicer. 
    ** Fixed pftp_compactPath to handle "/dir/./../" correctly.
	
2005/26/11 - the_jk
    ++ Added SFTP support.
    ** Moved some functions out from pftp.c and into pftp_internal.h and 
       pftp_speed.*

2005/27/09 - the_jk
    ** pftp_directory: Fixed small compile warning.
    ** pftp: Added libSSLEnabled, which is used on Win32 where SSL support is compiled in
       but it's not certain it will be available anyway.
       In pftp_initlib ssleay32.dll and libeay32.dll is loaded if available and such.
    ** pftp: Fixed missbehaiving "client" (sending \n or \r in password).

2005/25/09 - the_jk
    ** Modified headers to use Win32 API reserved words.
    ** Modified source to work with Winsock2 and other Win32 API specifics. 

2005/24/09 - the_jk
    ++ Added support for setting file permissions and modification time if
       server supports it.
    ++ Added some support functions for handling the modification time 
       string that pftp_directory returns.
    ** Modified configure script to check more headers and functions.
       Also modified sourcefiles to use the info.    
    ** Fixed parsing of dosdates to match ls:s idea of "recent" and "old" 
       files.

2005/21/09 - the_jk
    ** Moved SO_REUSEADDR code to after bind() call where it actually does
       any good.
    
2005/16/09 - the_jk
    ++ Added --disable-ssl option to configure.
    ** Fixed memory leak in pftp_get.    
    ** Small code corrections, doesn't really mather.    
    
2005/07/07 - the_jk
    ** Rebuild the way server responses are parsed.
           This didnt only result in cleaner (and better) code but also a nice
       feature, the response is now sent to the client as soon as each line
       is parsed of a multiline response.
           Very nice for slow server operations with a lot of output.
        -- Removed the ABOR fix for glftpd 2.0rcX. Shouldn't even been there 
       really if we haden't done the initail testing against just that 
       version.
    
2005/05/07 - the_jk
    ++ Added PRET support.
    ** Worked around problems with Auth TLS behaivor by drftpd.       
    
2005/05/07 - the_jk
    ** PORT command now sets SO_REUSEADDR on socket, so no more
       "Unable to bind to *:* - Socket is in use"
    
2005/17/06 - the_jk
    ++ Added PFTP_NEXTSTATUS_IS_NOT_FATAL message.
       This makes it possible for clients to ignore unnecessary error 
       messages when features are tested at login for example.
    ** Fixed a path bug where the last char was destroyed.
    ** Changed some string handling to use strdup instead of malloc/strcpy
       and str[0] instead of strlen(str) == 0.
    ** Updated documentation.
    
2004/16/11 - the_jk
    ** Released libpftp 0.6
       Nasty memory handling forced a new version (that should have been
       out alot quicker).
    
2004/06/11 - the_jk
    ** Fixed: Some nasty memory handling in pftp_login. Data was freed and 
       then used anyway (near send_comm(..., PFTP_NEEDPASS)).
    ** Added/Fixed: Support for using random unused ports for active 
       transfers by specifying port = 0 in response to PFTP_NEEDPORT.
       Thanks to Aaron & his developers for a patch.
    
2004/01/11 - the_jk
    ** Released libpftp 0.5
    
2004/31/10 - the_jk
    ** Made compactPath public. libpftputil had use for it.
    
2004/30/10 - the_jk
    ** Changed name to libpftp and cleaned up the library structure a lot.
    ** Fixed some memory bugs in pftp_fxp.
    ** Fixed some memory bugs in pftp_login. 
    ** When TIMEOUT during ABORT, ftp connection is now dropped 
       (as it didn't do much good anyway).
    ++ Added userdata field to pftp_settings_t and added it to 
       pftp_commCentralFunc_t.
    Note, thanks to Aaron for making a lot of these changes happen :)
    
2004/25/10 - the_jk
        ** ftp_directory: Fixed some bugs in get_link_type.
           - It now remembers downloaded directory listings and clear their 
             cache first when done, not all the time. Quite simular to
             the clear_cache_t used in ftp_client.c in libutil.
           - It now handels links to links.
           - cur_dir that was sent between instances of it now has the correct
             value...
        
2004/20/10 - the_jk
        ** libftp: Fixed some 64-bit arch issues.
    
2004/14/08 - the_jk
    ** libftp: Fixed two nasty bugs.
       Bug #1: Made upload scramble data at non-ideal network conditions 
               (i.e. always on internet).
       Bug #2: Incoming commands from ftp-server could get forgotten if
               they were coming to fast.
    ** libftp: Changed all error messages containing errno to write
               out errno instead using strerror.
    ** libftp: Abort was also updated. Should behave better now and
               can also itself be aborted...
    ** ftp_directory: get_link_type failed if target name ended in /.
    
2004/23/07 - the_jk
    ** libftp: Updated ls so that it can return if cache was used or not.
       Only get_link_type that cares for now...
    ** libftp: Made cd a little smarter. It now can handle if server is
       nice enougth to answer the real name of the new directoy.
       Can save a lot of PWD calls, especially in get_link_type.
    ** ftp_directory: Made get_link_type a lot smarter. Also, it's no 
       longer so insanly (on some public ftps, like ftp.funet.fi) that is
       was. It's still a bit slow if there is a lot of links.
    ** libftp: Fixed a bug when bind_to or myaddr is set to empty strings
       instead of NULL. NULL means get default (or no value if its default)
       but "" means no value directly.    
    
2004/21/07 - the_jk
    ** libftp: Added FTP_DISCONNECTED message. Sent when command connection
       is lost. Updated send to handle just that a little better also.
    
2004/13/07 - the_jk
    ** ftp_directory: dirparse now try to find target of an link to see
       what type it is.
    ** libftp: in functions update, status and askpass have been replaced
       by one general "give me what I wan't" message handler, supplied
       by client. Messages libftp sends are in ftp_comm.h
       In the process made what used to be update calls more general
       and provides more info to the client.
    ** libftp, put: now takes an extra argument, the total size of file
       so that any percent counter in client works.
    ** libftp, receiveCmd: Made a quick-and-dirty fix so that ABOR on
       glftpd doesn't hang on glftpd invalid response (it responses with
       a multiline response, but only sends one line).
    ** libftp, login: Changed loginsequence to avoid trouble with 
       ftpservers that don't reset REST calls on ABOR. (proFTPd for one).
       Also changed testing of CDUP so that we will end up in the first
       directory the ftp server gives us, and not the one below.
       Also fixed a small bug making libftp login twice if NO_SSL was
       defined and password missmatched.
    ** libftp, curdir and cd: Fixed bug that made /home/the_jk and 
       /home/the_jk/ be two different directories (cache got ill for one).
    ** libftp, sendCmd: Now handels closed connections a lot better.
       (sets cmdstream to -1 so it won't try again atleast).    
    
2004/08/07 - the_jk
    ** ftp_directory: free_fft is now available outside ftp_directory.c.
    ** libftp: Added some free(xxx) calls.

2004/08/07 - the_jk
    ** ftp_directory: Changed ftp_file_t so that a link doesn't have
       just s_link as type, but added a new variable in structure that is
       set to 1 if it's a link. type is now set to directory instead.
       Would be great if one could get what the links target type is...
       Only TAB completer and print_ls that need to worry about that now
       I think.
    
2004/07/07 - the_jk
    ** libftp.c: Removed a compiler warning in ls.
