Realtime FTP Uploading

Discussion in 'Web Design & Coding' started by Sambassador, Apr 22, 2007.

  1. Sambassador

    Sambassador Ninja

    Joined:
    Nov 21, 2005
    Messages:
    64
    Likes Received:
    1
    Location:
    Colorado
    Hey all,

    Just wondering... are there any programs that automatically upload and replace a file when you save a file on your computer?

    For example, say i have a file called index.html. I want it to upload to my web server every time i save it on my computer (thus editing it on the server). So I click "save" in my html editor, and then my FTP program uploads it and replaces the server version.

    Any programs that do that?

    -Sam
     
    Sambassador, Apr 22, 2007
    #1
    1. Advertisements

  2. Sambassador

    Crimson Devil's Advocate VIP Member

    Joined:
    Aug 21, 2006
    Messages:
    479
    Likes Received:
    3
    Location:
    Norfolk, VA
    You can make a batch file that does this. Just open your text editor (notepad, vi, etc) and put something like this in it.

    FTP xx.xx.xx.xx
    USER MyUserId
    MyPassword
    cd xx/xx
    binary
    prompt n
    put index.html


    Just change the following: xx.xx.xx.xx to the IP or the name of the FTP server, MyUserId with the login name, MyPassword to your password and xx/xx to the place where you want the file to go to. Then save the file as a *.bat and you're done. Note: I haven't had to do unattended jobs for awhile so this batch may need to be tweaked to work right.

    The only difference will be you have to click the batch file to upload the updated document. You can also create a script or find one, but it will pretty much do the same thing.

    You can also invest in Fileaze for $30 which gives you a nice GUI to set automated jobs like this. It's probably better because you don't have a user name and password where anyone can access it and you'll be able to tweak the automation better instead of using some of the "clunk and run" issues of using automated command line scripting.
     
    Last edited: Apr 22, 2007
    Crimson, Apr 22, 2007
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Core

    Setting up ftp server on w2k3 server

    Core, Sep 18, 2003, in forum: Networking and Internet
    Replies:
    2
    Views:
    2,711
  2. Faaris

    Uploading flashes??

    Faaris, Apr 14, 2004, in forum: Media Workshop
    Replies:
    4
    Views:
    1,549
    Chava
    Jul 25, 2004
  3. Westerberg

    modem freezes when uploading

    Westerberg, Dec 7, 2004, in forum: Networking and Internet
    Replies:
    4
    Views:
    1,017
    Westerberg
    Dec 8, 2004
  4. GwG
    Replies:
    7
    Views:
    1,153
    Frank le Spikkin
    Aug 25, 2004
  5. 66oldgit

    uploading backup to 'cloud'

    66oldgit, Aug 16, 2012, in forum: PC Hardware
    Replies:
    2
    Views:
    319
    RayLopez99
    Aug 17, 2012
  6. RayLopez99
    Replies:
    4
    Views:
    329
    RayLopez99
    Nov 11, 2012
  7. John Doe

    Firefox constantly uploading data

    John Doe, Sep 6, 2013, in forum: PC Hardware
    Replies:
    5
    Views:
    363
    RayLopez99
    Jan 29, 2014
Loading...