]> granicus.if.org Git - apache/commitdiff
The mod_proxy module proxy_ftp.c has an undocumented 'feature':
authorMartin Kraemer <martin@apache.org>
Tue, 16 Dec 1997 22:07:33 +0000 (22:07 +0000)
committerMartin Kraemer <martin@apache.org>
Tue, 16 Dec 1997 22:07:33 +0000 (22:07 +0000)
when the URL is suffixed by ';type=a', then an ASCII transfer is enforced.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79712 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy.html

index 46cf83a55f7f00679157e0058531749b6c81d390..43e7dff8e0caeebace57580799c95f3f25897245 100644 (file)
@@ -528,6 +528,13 @@ file. A useful line can be<p>
 application/octet-stream        bin dms lha lzh exe class tgz taz
 </pre>
 
+<h2><a name="type">How can I force an FTP ASCII download of File <EM>xxx</EM>?</a></h2>
+
+In the rare situation where you must download a specific file using the FTP
+<STRONG>ASCII</STRONG> transfer method (while the default transfer is in
+<STRONG>binary</STRONG> mode), you can override mod_proxy's default by
+suffixing the request with <SAMP>;type=a</SAMP> to force an ASCII transfer.<p>
+
 <h2><a name="startup">Why does Apache start more slowly when using the
         proxy module?</a></h2>