Changeset 202

Show
Ignore:
Timestamp:
2002-10-22 21:14:21 (6 years ago)
Author:
schwa
Message:
Documented changes in `upload_if_newer` and `download_if_newer`.
Fixed some typos.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ftputil.txt

    r194 r202  
    225225    upload is only invoked if the time of the last modification for 
    226226    the source file is more recent than that of the target file, or 
    227     the target doesn't exist at all. 
     227    the target doesn't exist at all. If an upload actually occured, 
     228    the return value is a true value, else a false value. 
    228229 
    229230download_if_newer(source, target, mode='') 
    230231    corresponds to upload_if_newer but performs a download from the 
    231232    server to the local host. Read the descriptions of download and 
    232     upload_if_newer for more. 
     233    upload_if_newer for more. If a download actually occured, 
     234    the return value is a true value, else a false value. 
    233235 
    234236close() 
     
    278280    - The result is derived by parsing the output of a DIR command on 
    279281      the server. Therefore, the result from FTPHost.lstat can not 
    280       contain nore information than the received text. In particular: 
     282      contain more information than the received text. In particular: 
    281283 
    282284    - User and group ids can only be determined as strings, not as 
    283       numbers, and that only, if the server supplies them. This is 
     285      numbers, and that only if the server supplies them. This is 
    284286      usually the case with Unix servers but may not be for other FTP 
    285287      server programs. 
     
    294296      information in the DIR output. 
    295297 
    296     - Items that can't be determined at all, are set to None. 
     298    - Items that can't be determined at all are set to None. 
    297299 
    298300    - There's a special problem with stat'ing the root directory. In 
    299301      this case, a RootDirError is raised. This has to do with the 
    300       algorithm used by (l)stat and a know of no one which solves 
     302      algorithm used by (l)stat and I know of no approach which solves 
    301303      this problem. 
    302304 
     
    440442AUTHOR 
    441443 
    442 ftputil is written by Stefan Schwarzer <s.schwarzer@ndh.net>. 
     444ftputil is written by Stefan Schwarzer <sschwarzer@sschwarzer.net>. 
    443445Feedback is appreciated. 
    444446