A better way to ftp

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • steve

    A better way to ftp

    Hi,
    I have a large CMS project (phpnuke), and it is deployed on three
    remote servers. Anytime I make a change to the scripts locally, I
    have to connect to three ftp servers, change directories, upload
    files... yikes.

    Is there an easier way to do this?

    --
    Posted using the http://www.dbforumz.com interface, at author's request
    Articles individually checked for conformance to usenet standards
    Topic URL: http://www.dbforumz.com/PHP-ftp-ftopict189519.html
    Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=640454
  • André Hänsel

    #2
    Re: A better way to ftp

    steve wrote:[color=blue]
    > Hi,
    > I have a large CMS project (phpnuke), and it is deployed on three
    > remote servers. Anytime I make a change to the scripts locally, I
    > have to connect to three ftp servers, change directories, upload
    > files... yikes.
    >
    > Is there an easier way to do this?[/color]

    Weex does a good job.

    If they weren't just FTP servers, you could use rsync to save even more
    time.

    Comment

    • Colin McKinnon

      #3
      Re: A better way to ftp

      André Hänsel wrote:
      [color=blue]
      > steve wrote:[color=green]
      >> Hi,
      >> I have a large CMS project (phpnuke), and it is deployed on three
      >> remote servers. Anytime I make a change to the scripts locally, I
      >> have to connect to three ftp servers, change directories, upload
      >> files... yikes.
      >>
      >> Is there an easier way to do this?[/color]
      >
      > Weex does a good job.
      >
      > If they weren't just FTP servers, you could use rsync to save even more
      > time.[/color]

      I wrote a thing some time ago to publish a site via FTP - it's called
      pushsite, requires Perl and you can get it from


      HTH

      C.

      Comment

      • Daniel M. Hendricks

        #4
        Re: A better way to ftp

        steve wrote:[color=blue]
        > Hi,
        > I have a large CMS project (phpnuke), and it is deployed on three
        > remote servers. Anytime I make a change to the scripts locally, I
        > have to connect to three ftp servers, change directories, upload
        > files... yikes.
        >
        > Is there an easier way to do this?[/color]

        Rsync would work like a charm, but if you don't have access, I've used
        this free application to sync FTP sites:
        Parse email data automatically with AI-powered email parsing software. Extract text from emails and send to spreadsheets, databases, or APIs. Try it free!


        Cheers,
        Daniel


        Comment

        • Martin Kissner

          #5
          Re: A better way to ftp

          ["Followup-To:" nach comp.lang.php gesetzt.]
          steve wrote :[color=blue]
          > Hi,
          > I have a large CMS project (phpnuke), and it is deployed on three
          > remote servers. Anytime I make a change to the scripts locally, I
          > have to connect to three ftp servers, change directories, upload
          > files... yikes.
          >
          > Is there an easier way to do this?[/color]

          If you are on Unix or Linux you could use curl.
          It's scriptable and it works with ~/.netrc
          After all you would be able to write a shellskript, which checks your
          local directory for changes und uploads the canged files to the servers.
          All you have to do is to start the skript by one command.

          HTH
          Martin

          --
          Epur Si Muove (Gallileo Gallilei)

          Comment

          • steve

            #6
            Re: Re: A better way to ftp

            "news80" wrote:[color=blue]
            > ["Followup-To:" nach comp.lang.php gesetzt.]
            > steve wrote :[color=green]
            > > Hi,
            > > I have a large CMS project (phpnuke), and it is deployed on[/color]
            > three[color=green]
            > > remote servers. Anytime I make a change to the scripts[/color]
            > locally, I[color=green]
            > > have to connect to three ftp servers, change directories,[/color]
            > upload[color=green]
            > > files... yikes.
            > >
            > > Is there an easier way to do this?[/color]
            >
            > If you are on Unix or Linux you could use curl.
            > It's scriptable and it works with ~/.netrc
            > After all you would be able to write a shellskript, which
            > checks your
            > local directory for changes und uploads the canged files to
            > the servers.
            > All you have to do is to start the skript by one command.
            >
            > HTH
            > Martin
            >
            > --
            > Epur Si Muove (Gallileo Gallilei)[/color]

            Thank you all for very helpful advice. Since I am on Windows locally
            (forgot to mention that) I will try scriptftp first. Then I can move
            on to the other solutions if that does not work. I will report back on
            the results.

            Thanks again,

            steve

            --
            Posted using the http://www.dbforumz.com interface, at author's request
            Articles individually checked for conformance to usenet standards
            Topic URL: http://www.dbforumz.com/PHP-ftp-ftopict189519.html
            Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=643813

            Comment

            Working...