Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
file transfer over http?

file transfer over http?

2004-01-29       - By Vidiot

 Back
Reply:     1     2     3  

>If I put a file on my apache web server and then put a link to that file on
>a web page, then somebody clicks on the link and downloads the file, is it
>over ftp or http? I could have sworn it 's over http, but can 't find the rfc
>that defines file transfer over http. I 've looked at rfc 1945 and 2068, but
>I can 't see where they talk about file transfers (though they are LONG
>documents and I might have missed it).

Think about it for a moment and you 'll end up answering your own question.
Time is up. HTTP is your answer. It cannot switch to ftp unless specifically
told to do so in the link. Going to ftp would require that the ftp daemon is
also running and set up to see the same physcial file locations. HTTP transfers
binary data all the time, i.e., images. The Apache server will look at the
extension of the file being requested to try and determine its type. When it
does, it will set the appropriate MIME type in the HTTP header that is returned.
If it can 't match the extension, I believe it goes out as text, meaning that
binary garbage will appear in the browser display area.

If you don 't have a standard extension for the data file, place directions on
the web page telling the user to do a Save As for the following link. That
way the file type is ignored and whatever the link points to is saved as a file.

BTW, all HTTP transfers are file transfers. The file type that is returned
tells the browser what to do with it.

>Anybody know which it is, and have a reference to back it up?

No reference available, just logic.

>Ben

MB
--
e-mail: vidiot@(protected) /~\ The ASCII
\ / Ribbon Campaign
[So it 's true, scythe matters. Willow 5/12/03] X Against
Visit - URL: http://vidiot.com/ / \ HTML Email


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list