You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



ftp: URL Test Cases
Chimera 0.6

Abstract:
This document provides file: URL tests in compliance with RFC 1738 and RFC 1630.

Before you start:
This test points to files that should be on a standard installation. In some cases, you need to create an extra test bed of files.
The next re-write will include recommended steps for the location and creation of the test bed.


URL Syntax
Link or steps Results
Comments
scheme only
ftp
ftp://ftp.<DEFAULTDOMAIN>
hostname -> scheme 158148
incomplete scheme-only formating
ftp: 
ftp:/

ftp://
status says: "Finished FTP transaction"

ftp://ftp/  works
ftp as host 

ftp://ftp/ 
(past behaviors)
Hostname only ftp://ftp.mozilla.org   -> ftp://ftp.mozilla.org/
"/" added by default
"/" termination is not required in RFC 1738.
Hostname w/ "/" ftp://ftp.mozilla.org/

Hostname w/ "//"
ftp://ftp.mozilla.org//

Explicity requests "/"
"#"
ftp://cr.yp.to/ftp/request.html#request
ftp://#mozilla:browser@234.123.15.18


works
fails, "#" should be escaped
77937
81919
Simultaneous
open two large files at the same time
see two load windows advance together
53463
Resume
 see download manager tests Only affects downloads 
Not available for saved file.
Abort
see download manager
stop download
should remove temp files
Upload only available via composer

64214
92837
HTML view




no welcome messages displayed


bug 90695
Header
"username:password" should be hidden.

111117
date
FTP year display off by one sometimes
ftp://ftp.asus.com/

38014
61235

131405
HTML special characters


97754
title bar should update as you switch pages and go back

71009
User/Password
ftp://@ftp.mcom.com/
ftp://username:@ftp.mcom.com/

E.g., <URL:ftp://@host.com/> has an empty user name and no password,
<URL:ftp://host.com/> has no user name 
(both go to anonymous) clicking asks for user. 
while <URL:ftp://foo:@host.com/> has a user name of "foo" and an  empty password. 
(returns prompt) 
auth persistence go down one level + file transfer


bug
"/" treatement
ftp://user@host/ -> login dir
ftp://user@host// -> /

/.dt

95277
/.dt is not a directory

big parsing re-write

84242
"." in path
ftp://userA@ic.net/./public_html/

94354

ftp://<id>@maize.mcom.com/%2Fu/mcs/tmp

126468
Exceptions


DNS failure ftp://ftp.packetgram.com
<file!> no error message.
empty root
<setup>

122913
file/directory does not exist directory
file

 25014
anonymous user limit error

55912
74229
permissions error

the file should have read access turned off
71734
unsupported server
should be user friendly.

84472
ftype

later
anonysous ftp w/ passowrd

57763

"send e-mail address as anonymous ftp passwd" doesn't work 

unexpected disconnect


98056
User Interface

 

Reload button
for directories

103726
check stop button



View Source

 92187
Key Servers


VMS ftp://ftp.montagar.com
ftp://kuhub.cc.ukans.edu/
"currently unsupported"
22299
L8 ftp://ftp.cso.uiuc.edu/

BSD Type: L8 ftp://64.69.92.3

IntraWare need for public site
70444, 
RFC 2640/UTF8 ftp://kaze/pub/
ftp://mozilla:mozilla@annexia.org/



26767
NT:  ftp://ftp.microsoft.com/
95590 Reduce reliance on SYST command 
EPLF ftp://cr.yp.to/
49958
Free BSD
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-stable/All/

76729
Peter's FTP
ftp://ftp.monkeybyte.com
something hung here...
120473
PORT (active) ftp://ftp.mrunix.net/ (works now)
 
problem URLS what is going on here? 550 directory error 67675
long listing ftp://ftp.sourceforge.net/pub/sourceforge/


ftp://ftp.microsoft.com/internalhangs open after error.

Connectivity
close down connections

43567
Regressions
ftp://cr.yp.to/index.html(review testcase)
ftp://space.mit.edu/pub/davis/
ftp://ftp.asus.com/
ftp://ftp.mutt.org/mutt/
http://java.sun.com
ftp://ftp.sandpipers.com
ftp://ftp.dict.org/pub/dict/
ftp://ftp.ftpproxy.org
ftp://ftp.rygannon.com/pub/DataArchitect/








DNS: hostname not found
FTP should try RETR before CWD
72774
86369
129811
96761
99614
116170
130299
112250
File Handling see Download Manager test cases

61290
unknown contentf ftp://ftp.mozilla.org/pub/README

unknown content


69530
very large PNG
http://www.libpng.org/pub/png/png-MagnoliaAlpha.html
ftp://swrinde.nde.swri.edu/pub/png/images/png/Alpha/MagnoliaAlpha.png

84626
Preferencees
network.dir.format

83556

network.ftp.idleConnectionTimeout



browser.enable.cache

95671

advanced.mailftp

101027
Open issues
ftp://ftp.microsoft.com/internal

95671throber keeps running 64483

test w/ ftpd that comes w/ linux

68199

configured server that sends 331 responses

68652


Proxy (send tests to separate document)
Bug 52615
  Proxy: FTP does not show proxy auth (when proxy sends 407)
Bug 58872
  Proxy: "Host:" header
Bug 66139
  Proxy: ftp download progress bar not working (Squid)
Bug 73447
  Proxy: FTP shift-reload does not force a refresh from the network
Bug 81110
  Proxy: FTP does not show username+password dialog (when proxy sends 401)