FtpList: An application to list all files and directories in a FTP server or A local computer. The result can be a tree or a URL list.


Translation: Machine (WorldLingo)

Author: Ma Jian
Mailbox:Stronghorse@163.Net
Main page:http://www.worldlingo.com/wl/translate?wl_lp=ZH_CN-EN&wl_fl=2&wl_rurl=http%3A%2F%2Fleeuniverse.org%2FFtpList.htm&wl_url=stronghorse.yeah.net

FAQ
Operating instructions
Appendix A acknowledges
The appendix B edition renews the record

FAQ

Q: What is FtpList?
A: This is a table of contents tabulates the tool, can list on FTP, the local floppy disk table of contents content, the output form may be the setting up chart, also may be URL, HTML, form and so on belt form text documents.

Q: What does FtpList have to use?
A: Regarding likes the human which downloads saying, if certain FTP quite difficult company, to be possible to use FtpList to reorganize these FTP server URL to tabulate, then glues URL to FlashGet and so on downloads in the tool, like this may use the ordinary FTP tool to be more reliable than, the more rigid specialized downloading tool, day 24 hours do not stop carry on try again, until download to.
Said regarding the FTP webmaster or the average consumer that, may use FtpList to produce the local table of contents the tree chart, is advantageous for the management, the propaganda.

Q: What characteristic does FtpList have?
A: Below FtpList has the characteristic:

  1. Uses the first floor FTP agreement, transmits time of LIST the -R order then obtains assigns the table of contents and its under all child directories (including concealment child directory) the complete information, the among all tables of contents cut work by FTP server itself completes, reduced the transmission interactive process greatly.
  2. If the FTP server software does not support LIST the -R order, also may travel around the server table of contents by FtpList by the level. This way compares with the preceding way, takes to the server resources slightly slightly, but communication process big trouble, speed also compared to preceding kind of slow.
  3. May elect whether uses the PASV pattern.
  4. Supports the stand to remember, namely if needs to visit certain stands frequently, may stand host/port, username/password save, later will use time will call in then, will omit the input the worry.
  5. May arrange in order in the local floppy disk the content.
  6. The output form may elect, may direct output URL tabulate, when may output the tree chart, the output tree chart also may choose whether outputs information and so on document length.

Q: Which does FtpList have to limit?
A: FtpList is not multi-purpose, has the following to limit:

  1. FtpList not automatic heavy company function. If stand big, content many, tabulates the time which needs possibly to be able to be very long, this can increase the opportunity which the link loses. Therefore in this kind of situation, suggested time only lists on a FTP main catalogue, multi- rows several may obtain the entire stand the information.
  2. In order to speed up the speed which the demonstration tree chart, URL tabulates, before demonstrated can produce the temporary file under the system temporary catalogue, after demonstrated completes the automatic deletion. Therefore please guaranteed the system plate has the enough surplus space.

Q: Why can't some FTP document arrange in order, or only can arrange in order the first level of table of contents? What solution has?
A: The possible reason to have two:

  1. The most common reason is the FTP server does not support the PASV way, solution very simply: Eliminates the PASV option then.
  2. Also has the possibility is the FTP server does not support LIST The -R order, the option clear fell "Use LIST -R command" may.

Q: Why on some machines Chinese filename, the table of contents can demonstrate the additive device?
A: In under certain editions Windows 9x, as a result of the DLL question, possibly can have the Chinese demonstration not correct problem in the FtpList demonstration window. At this time do not have to manage it, saves the plate directly, then with the memorandum (Notepad), Word opened preserved the document to be possible. Saves the plate the document not to be able to appear the additive device.

Q: I need for the use, to reprint FtpList to pay expenses?
A: FtpList is "the friendship software" (Friendware), the user does not use in the pledge the business objective, also not carries on any change to the document and its the appendix under the condition, does not need for to use this software negative any expense, most is in the animation discussion area saw sends to me when the card irrigates, goes in holds individual field, took friendship repayment, or when lunar new year's season sends email to ask the sound is good (therefore is called "friendship software"). I do not pledge in the procedure the hidden any commercial advertizing, the wooden horse, but did not pledge for uses FtpList the consequence to undertake any responsibility. If you need to use in the business objective it, or joins your website, invitesRelates with meOtherwise retains investigates all responsibilities the right.

Operating instructions

First, gains the FTP document to tabulate

In "FTP Server" in the frame, inputs Host (server address), Port (port), User (user), Password (password), Remote Path (on the FTP outset table of contents), determined whether selects the PASV method. If has the firewall (firewall), again selects in the frame "Firewall" the button, in springs in the dialog box carries on the establishment to the firewall. If needs to visit this stand frequently, may select in the frame "Save" the button preservation, later will use the time spot "Load" the button then again will call in.

"After FTP Server" in the frame the content establishment completes, outside the spot "Go" the button then starts to gain the table of contents information. The gain process average information can demonstrate underneath the window in the information frame. After the data transmission completes, the system automatically to the information which receives carries on the explanation, then demonstrates the table of contents the tree structure.

If unfortunate explained has not listed, removes the PASV option tries. If the unfortunate table of contents has listed only, then congratulates, you drew a prizewinning ticket: Opposite party server does not support LIST -R order. By now might the option remove "Use LIST -R command", again selected Go, might list the subordinate table of contents. This kind of force way data traffic ratio uses LIST The -R order must be much bigger, supports the time in the network which stops up possibly can arrange in order not not entire, therefore suggests only then to believe firmly the server not to support LIST When -R order only then uses.

If hoped only lists the table of contents structure in the output tree chart, but does not contain in the table of contents the document, may in the frame eliminate "Show in" Output " Files "option, then spot" Tree "button. If hoped uses English character in the tree chart but is not Chinese character, may eliminate "Use Chinese character "option, then spot" Tree "button. If in the hope tree chart only contains the filename and the table of contents name, including the length information, may not eliminate "Verbose Mode "option, then spot" Tree "button.

If the hope outputs FTP URL to tabulate, in order to glues to FlashGet and so on downloads in the tool, may click on "Output" in the frame "URL" the button. If hoped contains the user name and the password directly in URL, may select "With After user and password "the option selects URL again" "the button. If in the tree chart saw has not listed the document to certain tables of contents under, may eliminate "Show Files "the option, lists all tables of contents, then to suspected again a row not entire table of contents retabulates.

If the hope obtains the HTML form the output, is advantageous for link which chooses needs, straight takes over the use of the mouse to tow downloads to FlashGet on, then may click on "Output" in the frame "HTML" the button.

If hoped the document tabulates FTP on inducts the database or the Excel work sheet, may click on "Output" in the frame "List" the button, the output result is the text documents which (\t) divides with the scheduling symbol, the first row is a table of contents, the second row is a filename, the third row is the document size.

If hope preservation output result, spot "Save" button, in springs in the dialog box chooses the goal document then.

Second, the gain local catalogue tabulates

Clicks on "Local" the button, in springs in the dialog box the choice needs to list table of contents then. To outputs the result processing with front.

Appendix A acknowledges

This procedure FTP communication partially referredPhil AndersonInCodeguruOn publishesA simple FTP client class

The appendix B edition renews the record

Version 1.14
Increases the function: Is tabulating the area to increase the right key menu, facilitates needs to carry on the duplication operation the user.

Version 1.13
1st, increases the function: HTML form output. The output result is a HTML document, and automatically transfers IE after the output to open this document, which link needs to download straight to take over the use of the mouse to tow to FlashGet then. Is suitable in needing to choose downloading from the stand document the situation.
2nd, increases the function: LIST way output. This kind of output result is the text documents which (\t) divides with the scheduling symbol, the first row is a table of contents, the second row is a filename, the third row is the document size. This kind of form document is suitable for to induct the database or the Excel work sheet.

Version 1.12
Increases the function: Is arranging in order URL time, increase "Show files" option. This option lacks the province is selects, if in the tree chart saw has not listed the document to certain tables of contents under, may eliminate this option, lists all tables of contents, then to suspected again a row not entire table of contents retabulates.
Function improvement: In in the row table of contents process, the permission severs.
Function improvement: RewrotePhil AndersonInCodeguruOn publishesA simple FTP client classBased on CSocket, the CAsyncSocket CFTPClient kind, will rewrite the kind which based on the pure socket function, unimpededly will fill, realized in this foundation has used LIST Time -R order severance function. Uses MFC the CFtpConnection kind to write originally does not need the code which LIST the -R order tabulates also thoroughly to give up, unify to the new kind comes up. Stock phrases IT catch word: "I finally also grasp ' the black heart ' the technology!"
Function improvement: The temporary file no longer uses C packing item to take down the fixed document, but is founds in the system temporary catalogue, like this cancelled only to be able to move a FtpList limit.
Function improvement: When the output result is bigger than 10MB, changes saves the plate directly, no longer in the information demonstrated in the window demonstrated, in order to avoid wastes the time and the memory.
Function improvement: Before in rolled in the window to demonstrate received all information, these information also were need the memory to save. Now changes only demonstrated receives the most recent information, by reduces the senseless memory consumption.
Wrong revision: Selects a Local button row local catalogue, or does not need LIST -R arranges in order the FTP table of contents time, the uppermost layer table of contents length to amount to not correctly.

Version 1.10a
Increases the function: If "Verbose mode" the option is selected (lacks province for selects), at output table of contents time, except outputs under this table of contents outside the child directory number, the article number of articles, the document length, but also outputs under this table of contents in the all all levels of child directories sum of document length. This function will be helpful in understood FTP or in the local hard disk will occupy resources most catalogues, also might use in taking inventory in FTP or the hard disk collection quantity.

Version 1.10
Increases the function: Increase "Use LIST -R command" option. If this option will be selected (lacks province for selects), then FtpList will use highly effective, reliable LIST -R order gain server table of contents information. But LIST the -R order is not all servers all supports, in does not support on the server uses LIST The -R order only can return to the first level of table of contents. By now might eliminate this option, forced FtpList to travel around the server table of contents by the level, by gained the complete table of contents structure.

Version 1.09
Increases the function: Increase "Verbose mode" option. If this option is selected (lacks province for selects), then in output tree chart time, can attach under the table of contents behind the table of contents item the child directory number, the article number of articles, the document total length, behind the document can the appended document length.

Version 1.08
Function revision: Table of contents, document according to alphabetical order arrangement.

Version 1.07
Increases the function: The user may choose whether selects the PASV method.
Increases the function: Establishes the Go button for lacks the province button, namely presses the carriage return key to be equal in clicking on the Go button.
Wrong revision: Are partial in the data packet boundary, possibly can but create the additive device because of half Chinese character.
Wrong revision: If Remote Path not for is spatial, under this child directory document and the table of contents can duplicate lists.
Wrong revision: Certain contains the specific character the table of contents not to be able to arrange in order.

Version 1.06
Function enhancement: Certain FTP server in returns to the table of contents information time, possibly can leave out under the table of contents the child directory information behind, by now FtpList might act according to information reconstruction table of contents tree.

Version 1.05
The anonymous first letter alters to the small letter, is compatible with certain FTP server.

Version 1.04
Wrong revision: Non- standard end slogan when URL output the position is not correct.

Version 1.03
Wrong revision: After chooses "With user and password" to select URL, in the output result agreement name is wrong, and does not contain the non- standard end slogan.

Version 1.02
1st, revises Version 1.01 saves the plate to be wrong.
Among 2nd, uses the document to carry on the transition, speeds up the demonstration speed.

Version 1.01
Rehas defined the partial construction of data and the algorithm, reduces the memory consumption.

Version 1.00
Can list FTP, the local table of contents tree chart, URL tabulates.

Disclaimer:This is a computer translation of the original webpage. It is provided for general information only and should not be regarded as complete nor accurate.