Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

129 lines
6.9 KiB

  1. Here is the format for an FTP URL:
  2. ----------------------------------
  3. ftp://<UserName>:<Password>@<ServerName>:<PortNum>/<Dir1>/...<SubDirs>/<FileName.txt>:type=<a|b>
  4. UserName - [Optional] On WinNT, this can include "domain\username" and the '\' is entered as "%5c" in escaped form to get past the URL format.
  5. Password - [Optional] Obvious. Later I will handle displaying a dialog to enter the password when it wasn't given in the url.
  6. Server - [Required] Intranet Machine Name, Internet DNS Name, or IP addr.
  7. Port - [Optional] Defaults to 21. You can test by changing IIS.
  8. SubDir - [Optional] Needs to end in a '/' or I assume it's a file. (Hitting the server is too expensive)
  9. Having a file extension will affect this. This is always relative to the Virtual Root directory
  10. if the server has a Virtual Root for that user. If you log into bryanst2 with bryanst2\JoeMama,
  11. your virtual Dir is (\user\JoeMama\). ftp://bryanst2%5cJoeMama:pass@bryanst2/SubDir1/ will be
  12. /user/JoeMama/SubDir1/ on the server. Original IE makes all SubDirs in the URL ralative to the
  13. base (not Virtual Root), so these are incompatible. I use the new way, because that follows the
  14. FTP spec. This is why I have "Correct Url" and "Incorrect Url" in the test web pages. You will
  15. find that IE4's original FTP support works correctly with URL w/o files (i.e. Directories).
  16. Virtual Root = /Users/Sales/User1/
  17. File /Users/Sales/User1/SubDir1/file.txt
  18. New FTP File URL: ftp://User1:Pass@Serv/SubDir1/file.txt
  19. New FTP Dir URL: ftp://User1:Pass@Serv/SubDir1/
  20. IE4 FTP File URL: ftp://User1:Pass@Serv/Users/Sales/User1/SubDir1/file.txt
  21. IE4 FTP Dir URL: ftp://User1:Pass@Serv/Users/Sales/User1/SubDir1/
  22. FileName - [Optional] Test files with and w/o extensions.
  23. Type - [Optional] A mean download in ASCII. The other is either B[inary] or I[mage], which means download in binary. Right now, I only support B, but I may also may be needed.
  24. Test Areas:
  25. ===========
  26. 1. Drag & Drop
  27. -------------------
  28. 1.1 Successful single file, single folder, files and folders, files and folders recursively.
  29. 1.2 Use Copy/Paste instead of Drag/Drop.
  30. 1.3 Use these as Drop Targets: Email message, File System Folder, Ftp Folder on Same Server (SubDir), Ftp Folder
  31. on another server, Internet Explorer (can display dropped html file), Name Space Extensions (like Fonts Folder,
  32. ActiveX Control Cache, WinZip).
  33. 1.4 Use the following as Drag Sources: Email Message, Internet Shortcuts on web page, gif from web page w/o HREF,
  34. file system folder, UNC path, from my computer, brief case, recycle bin, WordPad (drag a scrap to an FTP Site).
  35. 1.5 Error cases: Dest Dir Full, No Write, Full of connections, Proxy blocks action.
  36. 1.6 Test using Exchange or similar drag target or drag source that doesn't use a file system for storage. (Outlook Express, Eudora?)
  37. 2. Platforms
  38. -------------------
  39. 2.1 Win95 w/IE 5 (Bld 201 or Newer) - Browser Only
  40. 2.2 WinNT 4 w/IE 5 (Bld 201 or Newer) - Browser Only
  41. 2.3 WinNT 5 w/IE 5 (Bld 201 or Newer) - Browser Only
  42. 2.4 Win95 w/IE 5 (Bld 201 or Newer) - Shell Integration
  43. 2.5 WinNT 4 w/IE 5 (Bld 201 or Newer) - Shell Integration
  44. 2.6 WinNT 5 w/IE 5 (Bld 201 or Newer) - Shell Integration
  45. // TonyCi will have someone test the following
  46. 2.10 Win95 w/IE 4 - Browser Only
  47. 2.11 WinNT 4 w/IE 4 - Browser Only
  48. 2.12 WinNT 5 w/IE 4 - Browser Only
  49. 2.13 Win95 w/IE 4 - Shell Integration
  50. 2.14 WinNT 4 w/IE 4 - Shell Integration
  51. 2.15 WinNT 5 w/IE 4 - Shell Integration
  52. 3. Different Servers
  53. -------------------
  54. 3.1 Unix
  55. 3.1.1 Case Sensitivity
  56. 3.1.2 Servers that use "ls -F"
  57. 3.2 WinNT IIS
  58. 3.2.1 Virtual Root w/Domain
  59. 3.1 Server Name Limitations vary from Server to server.
  60. From: [email protected] (Raymond Chen)
  61. Date: Wed, 29 Nov 1995 23:27:47 -0800
  62. Subject: The great thing about standards...
  63. RFC959, the spec for FTP, says that the response to the "SYST" command must be
  64. a string whose first token is on the list of operating systems maintained by the
  65. Internet Assigned Numbers Authority (i.e., the people who are authorized to do
  66. these sorts of things). Now, one of the official "operating systems" is called
  67. WIN32, which means that "this FTP site follows WIN32 long file name semantics".
  68. Not to be confused with "MSDOS", which means "FAT semantics", or "UNIX" which
  69. means "case-sensitive, arbitrary length, only slashes disallowed" or "UNIX-BSD"
  70. which means "case-sensitive, maximum 14 characters, only slashes disallowed",
  71. or "TOPS20" which means "God help you". If you ask ftp.microsoft.com what
  72. operating system it is using, it reports "Windows_NT" instead of "WIN32".
  73. I go down the list of "official" operating systems, find that "Windows_NT"
  74. isn't on the list, and assert "Unrecognized operating system on the other
  75. end; assuming UNIX". And then I think that the guy on the other side uses
  76. case-sensitive filenames and get confused when it doesn't... That's the
  77. great thing about standards. By ignoring them, you make it impossible for
  78. your own developers to write stuff that uses them...
  79. 4. Web Page Support
  80. -------------------
  81. 4.1 Anchor w/HREF to FTP Dir, with Server Access
  82. 4.2 Anchor w/HREF to FTP Browse In Place File, with Server Access
  83. 4.3 Anchor w/HREF to FTP Launch/Save File, with Server Access
  84. 4.4 Anchor w/HREF to FTP Dir, w/o Server Access (CERN Proxy)
  85. 4.5 Anchor w/HREF to FTP Browse In Place File, w/o Server Access (CERN Proxy)
  86. 4.6 Anchor w/HREF to FTP Launch/Save File, w/o Server Access (CERN Proxy)
  87. 4.7 Anchor w/HREF to FTP Dir, with Server Access, w/User Login
  88. 4.8 Anchor w/HREF to FTP Browse In Place File, with Server Access, w/User Login
  89. 4.9 Anchor w/HREF to FTP Launch/Save File, with Server Access, w/User Login
  90. 4.10 Anchor w/HREF to FTP Dir, w/o Server Access (CERN Proxy), w/User Login
  91. 4.11 Anchor w/HREF to FTP Browse In Place File, w/o Server Access (CERN Proxy), w/User Login
  92. 4.12 Anchor w/HREF to FTP Launch/Save File, w/o Server Access (CERN Proxy), w/User Login
  93. 4.13 IFRAME w/HREF to FTP Dir, with Server Access
  94. 4.14 IFRAME w/HREF to FTP Dir, with Server Access, w/User Login
  95. 4.15 IFRAME w/HREF to FTP Dir, w/o Server Access (CERN Proxy)
  96. 4.16 IFRAME w/HREF to FTP Dir, w/o Server Access (CERN Proxy), w/User Login
  97. 4.17 All of the above entered directly into the AddressBar.
  98. 10. Other Areas
  99. -------------------
  100. 10.1 Proxie issues: Proxy rerendered FTP data as web page, non-default port, port specified in URL.
  101. 10.2 URLs: non-default URLs, user name/password specified, username only specified.
  102. 10.3 Download Type: Automatic detect, Binary, ASCII, Mac/UNIX/Win Text files (CR vs. CR LN vs. LN)
  103. 10.4 Context Menus: Folder Background, Folder Item, File Item, Multiple Files.
  104. 10.5 Test on different platforms: NT/95 (w/o IE), NT/95 w/IE3, NT/95 w/IE4.
  105. 10.6 Test on different servers: Mac, WinNT IIS (UNIX & DOS Dir Styles), Unix
  106. 10.7 Test virtual roots
  107. 10.8 Test IFrame Security. (Zones Support)
  108. 10.8 Test not being connected to the Internet, needing a connectoid to connect,
  109. and then trying to use FTP. It should display the log-in dialog.