Announcement

Collapse
No announcement yet.

FTP help

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

    FTP help

    Can anyone tell me how to delete a file on a remote machine, and then upload a replacement using the hs.htp command?

    I need to log on to the remote machine, navigate to another directory, delete a file, and then upload a file to that directory. Of course, then I need to log off...

    Thanks;
    Last edited by donstephens; November 7, 2005, 04:09 PM.
    Don

    #2
    Well, shucks!

    OK, how do I launch a .bat or .cmd file? Using hs.launch gives an error.
    I have created a .bat file that ftp's my file to a remote server, but I can't get the launch command to work either in the Homeseer's UI or by scripting.

    Any clues?

    Thanks
    Don

    Comment


      #3
      Originally posted by donstephens
      Well, shucks!

      OK, how do I launch a .bat or .cmd file? Using hs.launch gives an error.
      I have created a .bat file that ftp's my file to a remote server, but I can't get the launch command to work either in the Homeseer's UI or by scripting.

      Any clues?

      Thanks
      Don,
      I just set up an event and used an action of Launch application and the path was C:\Program Files\HomeSeer 2\scripts\test.bat and it worked as expected. Did you include the path on your bat file?
      -Rupp
      sigpic

      Comment

      Working...
      X