Changeset 202
- Timestamp:
- 2002-10-22 21:14:21 (6 years ago)
- Files:
-
- trunk/ftputil.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ftputil.txt
r194 r202 225 225 upload is only invoked if the time of the last modification for 226 226 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. 228 229 229 230 download_if_newer(source, target, mode='') 230 231 corresponds to upload_if_newer but performs a download from the 231 232 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. 233 235 234 236 close() … … 278 280 - The result is derived by parsing the output of a DIR command on 279 281 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: 281 283 282 284 - User and group ids can only be determined as strings, not as 283 numbers, and that only ,if the server supplies them. This is285 numbers, and that only if the server supplies them. This is 284 286 usually the case with Unix servers but may not be for other FTP 285 287 server programs. … … 294 296 information in the DIR output. 295 297 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. 297 299 298 300 - There's a special problem with stat'ing the root directory. In 299 301 this case, a RootDirError is raised. This has to do with the 300 algorithm used by (l)stat and a know of no onewhich solves302 algorithm used by (l)stat and I know of no approach which solves 301 303 this problem. 302 304 … … 440 442 AUTHOR 441 443 442 ftputil is written by Stefan Schwarzer <s .schwarzer@ndh.net>.444 ftputil is written by Stefan Schwarzer <sschwarzer@sschwarzer.net>. 443 445 Feedback is appreciated. 444 446
