Home

News

Forums

Hardware

CPUs

Motherboards

Video

Guides

CPU Prices

RAM Prices


Sharky Extreme : Forums:


+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Goldfish ultra_lime's Avatar
    Join Date
    Jun 2002
    Location
    IL
    Posts
    81

    Lightbulb Batch file & FTP

    im trying to log in to a ftp with a batch script in DOS
    i want it to download the information everyday
    but only the new information.
    but i get stuck after the opening banner.
    any help?

    now ive got
    ftp 127.0.0.1
    Aaron
    aaron
    Say what? awwww. thanks!
    You are these reason Forums ROCK!!

  2. #2
    Great White Shark
    Join Date
    Nov 2000
    Posts
    21,595
    You need provide info about file selection.
    Simply put the same commands in the script that you would use if you were doing the task manually.
    Code:
    ftp> ?
    Commands may be abbreviated.  Commands are:
    
    !               delete          literal         prompt          send
    ?               debug           ls              put             status
    append          dir             mdelete         pwd             trace
    ascii           disconnect      mdir            quit            type
    bell            get             mget            quote           user
    binary          glob            mkdir           recv            verbose
    bye             hash            mls             remotehelp
    cd              help            mput            rename
    close           lcd             open            rmdir
    ftp>

  3. #3
    Goldfish ultra_lime's Avatar
    Join Date
    Jun 2002
    Location
    IL
    Posts
    81
    here this works

    start
    ftp -s:ftpscript.txt

    open 64.198.56.167
    user
    Password
    dir
    prompt n
    mput C:\dir\*.*
    bye

    i needed the -s and a script .txt file
    thanks
    "A"
    Say what? awwww. thanks!
    You are these reason Forums ROCK!!

Bookmarks

Posting Permissions

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