home *** CD-ROM | disk | FTP | other *** search
- ;
- ; An example scripted session for automatic use of sFTP
- ;
- ;
- ;
- ; Turn off syslogging (can also be done by providing the command line switch -V
- debug 255
- ; Login to Deltanet running on my local machine
- open localhost
- ; login as the user anonymous
- anonymous
- ; supply password (our email address)
- carol@nocturnal.demon.co.uk
- ; set the remote directory to jump to
- cd /pub
- ; set the local directory to download to
- lcd $.temp
- ; open the downloads directory
- downloads
- ; turn off confirmation of overwrites
- prompt
- ; turn off server messages
- verbose
- ; get all the files in the current remote directory
- mget * -a
- ; end the session
-
-