#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    40
    Rep Power
    10

    Question How do I Run a WS_FTP script in Python


    I need to run a WS_FTP script from Python to download, backup and delete files from an FTP site before parsing the files.

    I can start the ftpscrpt.exe using the os.startfile command but need help on getting it to run a script.

    thanks in advance
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    40
    Rep Power
    10

    cracked it


    I managed to work my way round this by using the os.startfile command to run a .bat file which calls the wsftp scrpt.exe and the script

IMN logo majestic logo threadwatch logo seochat tools logo