⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 idftplist.pas

📁 photo.163.com 相册下载器 多线程下载
💻 PAS
📖 第 1 页 / 共 2 页
字号:
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence                                   }
{ Team Coherence is Copyright 2002 by Quality Software Components      }
{                                                                      }
{ For further information / comments, visit our WEB site at            }
{ http://www.TeamCoherence.com                                         }
{**********************************************************************}
{}
{ $Log:  11864: IdFTPList.pas 
{
{   Rev 1.71    10/26/2004 9:19:14 PM  JPMugaas
{ Fixed references.
}
{
{   Rev 1.70    6/14/2004 12:05:50 AM  JPMugaas
{ Added support for the following Item types that appear in some Unix listings
{ (particularly a /dev or /tmp dir):
{ 
{ FIFO, Socket, Character Device, Block Device.
}
{
{   Rev 1.69    4/19/2004 5:04:58 PM  JPMugaas
{ Class rework Kudzu wanted.
}
{
{   Rev 1.68    2004.02.03 5:44:44 PM  czhower
{ Name changes
}
{
{   Rev 1.67    24/01/2004 19:16:42  CCostelloe
{ Cleaned up warnings
}
{
{   Rev 1.66    1/22/2004 4:19:04 PM  SPerry
{ fixed set problems
}
{
{   Rev 1.65    11/26/2003 6:22:12 PM  JPMugaas
{ IdFTPList can now support file creation time for MLSD servers which support
{ that feature.  I also added support for a Unique identifier for an item so
{ facilitate some mirroring software if the server supports unique ID with EPLF
{ and MLSD.
}
{
{   Rev 1.64    3/9/2003 12:01:14 PM  JPMugaas
{ Now can report errors in recursive lists.
{ Permissions work better.
}
{
{   Rev 1.63    2/21/2003 06:54:26 PM  JPMugaas
{ The FTP list processing has been restructured so that Directory output is not
{ done by IdFTPList.  This now also uses the IdFTPListParserBase for parsing so
{ that the code is more scalable.
}
{
{   Rev 1.62    2/17/2003 11:10:12 PM  JPMugaas
{ Cisco IOS now supported.
}
{
{   Rev 1.61    2/17/2003 04:43:44 PM  JPMugaas
{ TOPS20 support
}
{
{   Rev 1.60    2/15/2003 10:29:16 AM  JPMugaas
{ Added support for some Unix specific facts with MLSD and MLST.
}
{
{   Rev 1.59    2/14/2003 05:41:44 PM  JPMugaas
{ Moved everything from IdFTPUtils to IdFTPCommon at Kudzu's suggestion.
}
{
{   Rev 1.58    2/13/2003 10:04:28 PM  JPMugaas
{ Moved some routines out of this unit and into a separate place so the code
{ could be reused better.
}
{
{   Rev 1.57    2/13/2003 01:31:56 AM  JPMugaas
{ Made sure MLSD output is valid.  I also reordered the facts in the MLSD
{ output to match with the FEAT listing.
}
{
{   Rev 1.56    2/12/2003 12:23:44 PM  JPMugaas
{ Bug Fixes:
{ 1) Blank line starting a recursive list.  
{ 2) The ADetails parameter was working in the opposit as it should have been.
}
{
{   Rev 1.55    2/12/2003 07:06:06 AM  JPMugaas
{ Now honors the following parameters:
{ 
{ x -  display entrie in columns accross 
{ C - diplay entries in columns downward
{ l - long format - standard for many FTP Servers
{ 1 - one entry per line.
}
{
{   Rev 1.54    2/11/2003 06:50:34 PM  JPMugaas
{ Now supports the following:
{ 
{ -X sort by extension
{ -S soft by file size.
{ 
{ More consistant with NcFTP Deamon.
}
{
{   Rev 1.53    2/11/2003 03:43:00 PM  JPMugaas
{ Q - put filename in quotes
{ m - list files and dirs in a comma separated list
{ 
{ are now supported.
}
{
{   Rev 1.52    2/10/2003 03:05:14 PM  JPMugaas
{ Now can read Unix lists with both the owner and group missing.  This can if
{ the use sent the -g and -o switches.
}
{
{   Rev 1.51    2/10/2003 02:09:28 PM  JPMugaas
{ Now can properly process dir output using -s and or -i switches.  Note that
{ Inote and Block count may not be parsed properly but it shouldn't cause an
{ error.
}
{
{   Rev 1.50    2/8/2003 12:43:24 PM  JPMugaas
{ BugFix:  In Unix, a time is only reported if the modified date is within 6
{ monthes of the current date.  The code assumed that the time is always given
{ if it's in the same year as the date (not always so).
{ 
{ http://www.opengroup.org/onlinepubs/007908799/xbd/utilconv.html#usg
}
{
{   Rev 1.49    2/8/2003 11:43:48 AM  JPMugaas
{ Made note about LineSet appearing to have two '-'.  There are just two
{ charactors that are sometimes rendered the same in some programs.
}
{
{   Rev 1.48    2/8/2003 10:41:30 AM  JPMugaas
{ inode support for /bin/ls output.
}
{
{   Rev 1.47    2/8/2003 04:37:16 AM  JPMugaas
{ Rewrote the dir sorting for recurive stuff so that it is more flexible and
{ permits more sorting options.  Added support for the "t" parameter and the
{ /bin/ls "f" parameter.
}
{
{   Rev 1.46    2/5/2003 10:13:38 PM  JPMugaas
{ Added -o, -g, -p parameter support and refined the -F parameter so executable
{ file names are followed by a '*'.
}
{
{   Rev 1.44    2/5/2003 02:42:10 PM  JPMugaas
{ Now supports the -r parameter for reverse-sorting lists even with recursive
{ dirs.
}
{
{   Rev 1.43    2/5/2003 08:43:48 AM  JPMugaas
{ Added a ExportLSSwitches property to control the output of Unix list data
{ export.  I also added support for the following switches:
{ 
{ s - print blocks in List
{ F - add a / to the end of dirs and symbolic links pointing to dirs
{ A - surpress . and .. entries. 
{ 
{ The switches are the same for the /bin/ls command but we may not support them
{ all.
{ 
{ More will follow.
{ Fixed a bug where the file being pointed to was not exported.
}
{
{   Rev 1.42    2/4/2003 05:32:52 PM  JPMugaas
{ Added ability to export recursive lists in both Unix and MS-DOS styles.
}
{
{   Rev 1.41    2/4/2003 09:35:40 AM  JPMugaas
{ Now handles Microsoft IIS DIR style with recursive listing.
{ Fix for Recursion with NcFTP and MIcrosoft IIS in Unix DIRSTYLE mode.
{ Fixed Novell Unix Print Services detction and Unix detection.
}
{
{   Rev 1.40    2/3/2003 11:03:36 AM  JPMugaas
{ Now exports the directory listing into TStrings.  Also made it possible to
{ export a "total x" line for Unix style dirs.
}
{
{   Rev 1.39    1/27/2003 02:53:18 AM  JPMugaas
{ Fixed bug that I mistakenly introduced.
}
{
{   Rev 1.38    1/27/2003 02:09:08 AM  JPMugaas
{ Now, all permission feilds are empty at creation.  If the Unix permission
{ feilds are empty when emulating Unix, default permissions will be given.
}
{
{   Rev 1.37    1/27/2003 01:07:44 AM  JPMugaas
{ In Unix, a list item was exported with two spaces between a year and the
{ filename instead of one space separating both items.
}
{
{   Rev 1.35    1/27/2003 12:16:02 AM  JPMugaas
{ Minor adjustment to the MS-DOS DIR output.  It turns out that <DIR> part of
{ the listing and the file size were off by one because only a and p were
{ returned instead of AM/PM.  In addition, the filenames were separated from
{ the file size by two spaces instead of one space.
}
{
{   Rev 1.34    1/26/2003 04:58:36 PM  JPMugaas
{ Expanded HP3000 parser slightly.
}
{
{   Rev 1.33    1/26/2003 02:36:22 AM  JPMugaas
{ Removed RecType type.  It was getting too ownerous to manage for MUSIC,
{ VM/CMS, and MVS systems.
{ Added more MVS specific properties in case a developer wishes to use them in
{ a properties dialog-box.
}
{
{   Rev 1.32    1/25/2003 07:31:34 PM  JPMugaas
{ Added support for MUSIC SP FTP Server.
}
{
{   Rev 1.31    1/20/2003 04:27:24 PM  JPMugaas
{ Now handles where JES Interface 1 indicates no jobs are available.
}
{
{   Rev 1.30    1/20/2003 03:13:06 PM  JPMugaas
{ Unix parser now works with a Axis NPS 53X FTP Printer Server.
}
{
{   Rev 1.29    1/20/2003 12:55:06 PM  JPMugaas
{ Fixed sybmolic link detection problem I introduced  when applying a patch for
{ other file types in Unix.
}
{
{   Rev 1.28    1/19/2003 11:10:12 PM  JPMugaas
{ Changed LoadList so it does not do anything if the FormatType is flfNextLine.
{  
{ Changed the Total function so it can will ignore a "Total:" so a recursive
{ Unix listing will not ignore a "total:" subdirectory indicator.
}
{
{   Rev 1.27    1/14/2003 04:37:52 PM  JPMugaas
{ Fixed misapplied patch for Unix parsing problem in /dev directories.  
}
{
{   Rev 1.26    1/13/2003 10:16:06 PM  JPMugaas
{ Fixed Unix parser for a peculiarity in ls output with charactor devices in
{ the /dev hierarchy.   Data submitted Jeff Eaton in
{ Unix-ftp.netscape.com-4.txt illustrates this.  Unix format check function now
{ recognizes the following:
{ b - block device
{ c - character device
{ p - pipe
{ s - socket
}
{
{   Rev 1.25    1/13/2003 12:21:28 AM  JPMugaas
{ Expanded comment in MVS parser to explain why we do not support file size in
{ that format.
}
{
{   Rev 1.24    1/12/2003 09:00:32 PM  JPMugaas
{ Refined EPLF export.  The export now tries to use ModifiedDateGMT and if
{ that's not available, it uses the ModifiedDate (assuming it's in the local
{ timezone).  EPLF requires dates to be based on GMT time.
}
{
{   Rev 1.22    1/6/2003 10:37:12 AM  JPMugaas
{ Fixed bug with Novell Netware date interpretation.  If the month was 1 and
{ the day was 16, the Netware parser would interpret it as 1-16-2003 (note that
{ 1-16-2003 has not yet arrived).
}
{
{   Rev 1.21    1/4/2003 03:24:24 PM  JPMugaas
{ MVS JES Interface 1 parser now does not use string positions at all.  Spacing
{ is now used instead.  More reliable that way.
}
{
{   Rev 1.19    1/4/2003 01:38:40 PM  JPMugaas
{ Reworked HellSoft FTP Server for Novell Support and detection.  Now it is
{ detected separately from Novell Netware although it uses the same parser.
{ Expanded Novell Netware Print Services for UNIX so DOS namespace is
{ supported.  It turned out that I mistakenly thaught that it was simply Novell
{ Netware with a NFS namespace.  Renamed format types appropriately.
}
{
{   Rev 1.18    1/4/2003 10:53:52 AM  JPMugaas
{ Fixed parse bug in MVS.  Sometimes, the first char in a filename was
{ mistakenly dropped.
{ Fixed MS-DOS parser.  For a times such 12:15 AM, the date would be returned
{ as 12:15 PM.
{ Fixed a MVS Particianed Data bug.  A 0 in the 3rd colum was interprettted as
{ current date with the year 2000 if there was only a "0" in that column.
}
{
{   Rev 1.17    1/3/2003 6:55:36 PM  JPMugaas
{ WinQVT/Net 3.98.15 support.  
}
{
{   Rev 1.16    12/30/2002 9:19:34 AM  JPMugaas
{ Patch from Andrew P. Rybin for where the count column and the file size
{ column Unix are rammed together.
}
{
{   Rev 1.15    12/30/2002 2:36:04 AM  JPMugaas
{ Renamed the DIstinctPermissions to DistinctAttributes because those are just
{ the standard MS-DOS attributes (system, read-only, hidden, and archive) as
{ verified in my notes.
{ Refined the Distinct32 FTP server detection.
}
{
{   Rev 1.14    12/29/2002 10:29:28 PM  JPMugaas
{ Updated Distinct Parser for a sample dir list where no year was given.  Added
{ ModifiedTimeGMT for cases where we can obtain a timestamp in GMT (Greenwhich
{ Mean Time).  These cases currently are EPLF, Distinct32, and MLST/MLSD output.
}
{
{   Rev 1.13    12/29/2002 7:23:56 AM  JPMugaas
{ Modified VMS parser for UCX 3.3 support (VMS-Unknown-10.txt,
{ VMS-Unknown-11.txt).
{ 
{ Added support for Distinct TCP/IP FTP Server-32 v. 3.0.
}
{
{   Rev 1.12    12/19/2002 03:58:16 PM  JPMugaas
{ Fixed an AV problem with a VM/CMS sample dir (case 10).  It was due to a
{ blank line that should not have been passed to the parser.
}
{
{   Rev 1.11    12/19/2002 01:29:58 PM  JPMugaas
{ Microware OS/9 support.
}
{

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -