Web Analytics Made Easy -
StatCounter Customize FTP Site? - CodingForum

Announcement

Collapse
No announcement yet.

Customize FTP Site?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Customize FTP Site?

    Hi. I wanted to know if there are any 'tricks' that you can apply to an FTP site (your own). Such as, is it possible to change the background color / link color / etc on the FTP page that you would view in a browser? (Unless you are viewing the FTP site with a new Windows that displays it with folders that is...) Maybe like have a page that went
    ----------------------------
    <html>
    <head>
    <title>My FTP Site!</title>
    <style>
    body {background:#555555;color: orange}
    a {color:lime;text-decoration:none}
    a:hover {color:red;text-decoration:underline}
    </head>
    <body>
    <!-- Some kind of SSI tag to Include the FTP directory listing and stuff -->
    </body>
    </html>
    -----------------------------
    Anyway, that is what I mean.

    And I heared somewhere about a index.txt thingy... what does it do? And... Would it be possible to create you very own FTP interface? Completly different from the one that comes with your browser? (I am talking about browser FTP stuff... not client stuff using CuteFTP or WS_FTP or similar programs)... Anyway, any FTP 'tricks' would be awesome to know.

    Thanks a lot!

    Ian
    Last edited by Chicano; Jul 11, 2002, 06:30 PM.

  • #2
    i'm not sure, but you might want to try looking at the JavaScript Kit's .htaccess tutorial. this is the page that'd be of particular interest to you ( the last paragraph ), but you should probably read the whole tutorial.

    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

    Comment


    • #3
      Poo...

      Well, it didnt work unfortunatly... I thought it might, but I imagine since .htaccess is a unix thing, and an HTTP server thing (I think it is only an http server thing), then probably since my server is FTP, and on Windows, it didnt work...

      Well, thanks for your try =)
      Does anyone else have any ideas?

      Comment


      • #4
        Hi, you are really getting into the realms of server-side if you want to achieve this, i.e. its pretty straightforward in most serverside languages to produce a listing of the contents of a directory which you can display on your normal HTML page in anyway you wish.

        I think the one exception is SSI so you gotta look at PHP,ASP,PERL,CFM,JSP/etc
        resistance is...

        MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

        Comment


        • #5
          firepage is absolutly correct. You'd have to make something similar to the geocities file manager. Which isn't impossible it might take a while but it can be done. I know a friend that did it. It took him about 4,000 lines of ASP code total but it turned out great. And he added some new features to it too.
          OracleGuy

          Comment


          • #6
            Thanks for your replies =)

            Well, I myself would not be able to do this with my current knoledge... and also, is it possible to do this in an FTP server? because I know you can display the contents of a folder in an HTTP server like this (seen it done, like you said for example on the Geocities File Manager) but... on an FTP server?

            It would be awesome, if I could only find maybe a premade script... hmmmph.

            Maybe it could be done using an HTTP server, which displayed the directory structure of the FTP server's folders (in other words, calling the info of the directory FROM the FTP, and "pasting" it into the webpage on your HTTP server...)

            Well, anymore ideas would be awesome.. or if anyone knows of a script that could do something like this, well, that would be just as awesome =)

            Thanks again,
            Ian

            Comment


            • #7
              i'd say you should write your SysAdmin, and ask if there's a way to do it with .htaccess files, or whatever the equivalent for an FTP server might be. i'm guessing it would still be .htaccess, but anything that isn't covered in that tutorial i showed you, is out of my league. your SysAdmin should know, though.
              bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

              i am a loser geek, crazy with an evil streak,
              yes i do believe there is a violent thing inside of me.

              Comment


              • #8
                heheheh

                The thing is, that I am currently hosting my FTP server and HTTP server on my own home computer... So I don't really have a SysAdmin

                Comment


                • #9
                  i have a cunning possibley server side plan, if you wrote something to list files in an ftpsite and got it to update itself and call its self index.html would wjem tjey opend the site they would get the list. I now you can list files on a server.

                  scroots
                  Spammers next time you spam me consider the implications:
                  (1) that you will be persuaded by me(in a legitimate mannor)
                  (2)It is worthless to you, when i have finished

                  Comment


                  • #10
                    i don't know. can ftp servers run cgi scripts? never heard of that. it'd be interesting to find out, though.
                    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

                    i am a loser geek, crazy with an evil streak,
                    yes i do believe there is a violent thing inside of me.

                    Comment


                    • #11
                      i`ll experiment and try my idea.

                      scroots
                      Spammers next time you spam me consider the implications:
                      (1) that you will be persuaded by me(in a legitimate mannor)
                      (2)It is worthless to you, when i have finished

                      Comment


                      • #12
                        Hmmm...

                        No, I don't believe FTP servers can run CGI... they can run common .html files, but not process .pl or .cgi files that I am aware of.
                        Maybe if you were to install a perl package or something on the FTP server, so that it can find Perl or something?
                        I dunno... but it is worth a try I guess

                        Comment


                        • #13
                          I'm not sure, but I remember something about .ftpaccess (or .ftacces). I've read it somewhere, but I don't know where. Perhaps try searching for it with some searchpage.

                          Mzzl, Chris
                          My Website
                          010100010011110101110100011011110111000001101000

                          Comment


                          • #14
                            Kool! That sounds interesting... I'll go do a search on Yahoo and see what I can find...

                            Comment


                            • #15
                              Well... I found some stuff... but it is a bit confusing for me at least .

                              Want to check it out?



                              http://proftpd.linux.co.uk/ (Click on Documentation, then search the page for ftpaccess

                              anway...

                              Comment

                              Working...
                              X