Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Re: FTP from web pages

by blogan (Monk)
on Dec 20, 2000 at 21:39 UTC ( [id://47616]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: FTP from web pages
in thread FTP from web pages

It depends on how apache is configured. You may have the general log just log IP, time, and file. You don't want it to have Referer, User-Agent, etc except for the files gotten from FTP. I don't care if you use Linux with Mozilla coming from perlmonks to display a .gif, but I do care if all the people downloading a file have certain things in common. If I find out 50% of people downloading a program are using NT, but my program has a small bug with NT, then I'd probably fix it. Also, what if I have a specific version for NT, for Linux, for 95/98? I don't have to trust the user to download the right one, my script does it for me.

Replies are listed 'Best First'.
Re: Re: Re: Re: FTP from web pages
by ichimunki (Priest) on Dec 20, 2000 at 22:32 UTC
    That would be a case to write in a separate logging function then. But for remote IP, filename, result code, and I believe size, the default Apache log has all of these.

    Also, why would you write a HTTP CGI for FTP? Why not just send the file out via HTTP, this alleviates the overhead needed for FTP.
      Having a CGI to go to FTP could be used for load balancing or choosing the FTP server closest to you.
        You can do this with webservers can't you? If you have geographically mirrored content, then you can use HTTP or FTP - it doesn't matter.

        That's my $0.02 worth - I am only saying this because it's becoming a popular phrase around here.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://47616]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 01:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found