File: CHANGES

package info (click to toggle)
ftplib 3-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 848 kB
  • ctags: 509
  • sloc: ansic: 1,860; python: 152; makefile: 122; sh: 10
file content (65 lines) | stat: -rw-r--r-- 2,618 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
The obligatory revision history...

Changes from 3/15/97 to 12/2/97

1) FtpLastResponse() returns NULL if passed a NULL pointer.

2) Added 'const' keyword on appropriate function arguments.

3) First attempt to translate passed host string as an IP address in dot
   notation by passing it to inet_addr().  If this fails, pass the string
   to gethostbyname().  Apparently, some versions of gethostbyname() will
   parse the translation of a dot notation address for you.  One user
   reports he knows of at least one that does not.  In any case, it's the
   right thing to do.

4) Added protection from double inclusion to header file.  Also added
   'extern "C"' for C++.

5) Made sure qftp was passed two arguments before examining the second
   one.

6) Made sure all commands to the server were in upper case.  I've been
   told that some servers require this.

7) Attempt to handle login to accounts with no passwords.

8) Added common data transfer routines so that ascii mode transfers would
   be handled properly in all cases.  Also, exposed these routines for
   user programs to call.  There's now FtpAccess() to open a remote file
   or directory, FtpRead() and FtpWrite() to pass data, and FtpClose() to
   terminate the data connection.

9) Added 'list' command to qftp to perform a terse directory (names
   only).  This could be piped into another copy of qftp to retrieve the
   files.

10) ftplib.c and ftplib.h are now covered by the LGPL instead of the GPL.
   Feel free to send me a complementary copy of anything you develop
   commercially with my libraries.  All other programs are still covered
   by the GPL.

11) Added ability to specify a different port number than the default by
   appending a colon and the desired port number to the remote host name
   (e.g., remote.host.name:500 would connect to port remote.host.name on
   port 500).

Changes from 8/31/96 version to 3/15/97 version

1) Added copyright information to sources.

2) Changed from 'port' to 'pasv' which I'm told will allow the routines
   to work from behind a firewall.  It's also a lot simpler and cleaner
   than all that code to setup and accept a connect from the server.

3) Added delete (ftprm) support to qftp.c.

4) Modified qftp to allow use without a softlink by passing the ftp
   command as the first argument.

5) Added netbuf argument to all calls to eliminate static storage and
   allow multiple simultaneous connections.

6) Renamed routines from ftp*() to Ftp*() to avoid problems with existing
   programs.  Added macros in libftp.h to support old interface.  Renamed
   ftpOpen() to FtpConnect().