Results 1 to 3 of 3

Thread: auto FTP script -- connecting without password in script

  1. #1
    Ultimate Member Beeblequix's Avatar
    Join Date
    Nov 2001
    Ruins: Deus Ex Incarnate

    auto FTP script -- connecting without password in script

    howdy folks,

    I have an XP system at work that has a batch file to do a simple task --
    * copy files to a network drive
    * ftp files to a linux server

    <do some DOS commands here>

    echo something something > ftp_script.txt
    echo username >> ftp_script.txt
    echo bin >> ftp_script.txt
    echo put xxxx >> ftp_script.txt
    echo bye >> ftp_script.txt

    ftp < ftp_script.txt

    I've noticed that the script *does not* contain the password. It's gotta have a password but I don't understand where it's getting it. I read somewhere where it might be storing it in IE.

    Anyways, anyone have any thoughts on where the password might be hiding?
    Last edited by Beeblequix; 03-06-2009 at 04:43 PM.
    "all animals are equal but some animals are more equal than others".
    George Orwell

  2. #2
    Administrator Steve R Jones's Avatar
    Join Date
    May 1999
    Largo, FL.
    Here's a nice looking site with samples:

    "Vegetarians live up to nine years longer than the rest of us...Nine horrible, worthless, baconless years."

  3. #3
    Ultimate Member Ol'Tunzafun's Avatar
    Join Date
    Jun 2002
    Canadian prairie
    FTP login scripts are sometimes kept in a text file without an extension for added security, so if you see a file like that, just try opening it in notepad. It might be necessary to look for a line in the batch file that calls for it, in case the script is not in the immediate directory.
    Last edited by Ol'Tunzafun; 03-07-2009 at 12:58 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts