Does anyone know how to do this with FTP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marketsmart
    HOMICIDAL TROLL KILLER
    • Dec 2004
    • 20419

    #1

    Does anyone know how to do this with FTP

    I cant figure out how to set up or if there is software available to automatically ftp out a local file on win 2003 server every hour up to a linux server....

    anyone have any ideas?
  • marketsmart
    HOMICIDAL TROLL KILLER
    • Dec 2004
    • 20419

    #2
    bump.....

    Comment

    • fris
      I have to go potty
      • Aug 2002
      • 55758

      #3
      schedule command and a little scripting
      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


      Totally Free Templates

      Comment

      • sortie
        Confirmed User
        • Mar 2007
        • 7771

        #4
        Can't do it on a FTP program and linear FTP will make the file jacked.

        Solution:

        cron job on Linux executes a script on Linux that uses http to get the file from script on Win, but checking the file for acsii to reformat for linux ascii file

        In all, two scripts and one cron.

        cost $200
        contact tube at econfirmpro dot com

        Comment

        • Masterchief
          Confirmed User
          • Jun 2006
          • 530

          #5
          It actually is very much possible...

          First, create a new text file with the following contents:

          Code:
          open ftp.yourdomain.com
          yourusername
          yourpassword
          cd /public_html/
          binary
          prompt n
          mput c:\lists\online814.txt
          quit
          Replace your username, password, domain and file path. And if you're uploading an ascii file, replace binary with "ascii". Save the file wherever you want using whatever filename you want, but for the sake of simplicity i'll just pretend you saved to c:\ftp.txt

          Now, open up a administrative command prompt and run the following command:

          Code:
          schtasks /create /tn "FTP Backup" /tr "ftp -s:c:\ftp.txt" /sc MINUTE /mo 60
          replace "c:\ftp.txt" with the path to wherever you saved the file and runthe command.

          If all goes well, you should see a message saying "SUCCESS: The scheduled task "FTP Backup" has successfully been created."

          Comment

          • bDok
            Confirmed User
            • Feb 2005
            • 1917

            #6
            Originally posted by sortie
            Can't do it on a FTP program and linear FTP will make the file jacked.

            Solution:

            cron job on Linux executes a script on Linux that uses http to get the file from script on Win, but checking the file for acsii to reformat for linux ascii file

            In all, two scripts and one cron.

            cost $200
            contact tube at econfirmpro dot com
            $200 bucks... shiiiiit man. be all trying to get your dick in some ass.
            =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
            Warriors come out to plaAAaayyy!
            =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

            Comment

            • Nookster
              Confirmed IT Professional
              • Nov 2005
              • 3744

              #7
              cron >> only way (securely).
              The Best Affiliate Software, Ever.

              Comment

              • sortie
                Confirmed User
                • Mar 2007
                • 7771

                #8
                Originally posted by bDok
                $200 bucks... shiiiiit man. be all trying to get your dick in some ass.
                Funny thing, I didn't see you offer to do it for less.

                Comment

                • raymor
                  Confirmed User
                  • Oct 2002
                  • 3745

                  #9
                  WS-FTP has a scheduler feature that will do that.
                  For historical display only. This information is not current:
                  support@bettercgi.com ICQ 7208627
                  Strongbox - The next generation in site security
                  Throttlebox - The next generation in bandwidth control
                  Clonebox - Backup and disaster recovery on steroids

                  Comment

                  Working...