home *** CD-ROM | disk | FTP | other *** search
- ; Name: FTPUpgrade.ftp
- ; Task: Automatically upgrades your copy of FTP Control
- ; Simply execute this script and you will be retrieving
- ; the latest version of FTP Control.
- ; ------
- Host="ftp.transsoft.com"
- Port="21"
- User="anonymous"
- Password="ftp@transsoft.com"
- Timeout=60
- ; ------
- ; ******* Connect to FTP host...
- connect
- ; ------
- ; ******* Command sequence...
- ; Change remote working directory:
- Remote-CD "pub"
-
- ; Get the file from the Transsoft's host:
- binary
- get "ftpupgr.exe" ".\ftpupgr.exe"
-
- ; Execute the file after download
- Local-Exec ".\ftpupgr.exe"
- ; ------
- ; ******* Afterwards, disconnect from host!
- disconnect
-
- ; ------
- ; Script ends!
-