getting ftp:// urls working. Ftp urls to a file will work.

Still ftp directory and ftp authentication need implementation.


git-svn-id: svn://10.0.0.236/trunk@24621 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dp%netscape.com
1999-03-21 19:38:45 +00:00
parent c8ba1ff910
commit 5fb82d9f8b

View File

@@ -102,6 +102,8 @@ NS_InitializeHttpURLFactory(nsINetService* inet)
if (rv != NS_OK) goto done;
// XXX Hacks until we have real urlf objects for these...
inet->RegisterProtocol(*new nsString("ftp"), urlf, NULL);
if (rv != NS_OK) goto done;
inet->RegisterProtocol(*new nsString("resource"), urlf, NULL);
if (rv != NS_OK) goto done;
inet->RegisterProtocol(*new nsString("file"), urlf, NULL);