home *** CD-ROM | disk | FTP | other *** search
- ; *****************************************************
- ; Example6.ftp
- ; =============
- ; This example sends all .DAT files from the folder called
- ; d:\Datafiles\MyData
- ; and ALL SUB-folders -
- ; to a specified directory on a remote FTP server.
- ;
- ; NOTE: This is just a sample - you are unable to
- ; execute the script unchanged... ;o)
- ; *****************************************************
-
- ; ******* First provide the Login information...
-
- Host="ftp.yourhost.net"
- Port=21
- User="your-username"
- Password="your-password"
-
- ; ******* Timeout in seconds...
- Timeout=60
-
- ; ******* ...and then connect to FTP host...
- connect
-
- ; ******* Command sequence...
- Binary
- SendTree "d:\Datafiles\MyData\*.dat" "/data/files"
-
- ; ******* Afterwards, disconnect from host!
- disconnect
-
-