image FTP transfer mode is what is commonly referred as "binary".
Squid nowdays defaults to use a binary transfer by default, but some
client implementaions apply CR/LF conversation when receiving a file
tagged as text/plain.
If the client downloads the (standard) URL pattern of
ftp://the.server.name/path/to/file;type=i
a binary transfer of type application/octet-stream is forced. This mode
is available thru the download link at the right in Squids FTP listing.
type arguments understood are those defined in the URL ftp:// standard:
i = image (binary)
a = ascii
d = directory
If the client does not supply a type argument, Squid applies the
heuristics defined in it's mime.conf to find transfer mode and
content-type.
-- Henrik Nordstrom Squid hacker M.NOURA$B!?(J $BG=1:$^$5$k(B)) wrote: > > Hi there, > > I use an antivirus program, can update a virus pattern file > (>>it's binary) using FTP via squid proxy. > But it seems not to change mode ascii to binary in FTP session, > so, updating in fault. > > I try to chenge squid FTP proxy defult mode to binary , > configuration mime.conf ; > defult "." text/plane to application/octet-stream, > but can't change default mode "binary" in FTP session. > > >>. application/octet-stream anthony-unknown.gif - image > > Please tell me how to change default mode from ascii to binary. > > (Squid-2.1 patch2 runs on Cobalt Linux release 6.9) > > Thanks. > > -------------------- > D.NoraReceived on Tue Jan 11 2000 - 08:12:09 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:18 MST