Home » Personal collection » Acorn hard disk » apps » web » Telnet/!SFTP/Scripts/AUTO
Telnet/!SFTP/Scripts/AUTO
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Personal collection » Acorn hard disk » apps » web |
Filename: | Telnet/!SFTP/Scripts/AUTO |
Read OK: | ✔ |
File size: | 0275 bytes |
Load address: | 0000 |
Exec address: | 0000 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Personal collection » Acorn ADFS disks » Greaseweazled » adfs_1.6M_NetBits.adf » !SFTP/Scripts/AUTO
- Personal collection » Acorn hard disk » apps » web » Telnet/!SFTP/Scripts/AUTO
File contents
; ; An example scripted session for automatic use of sFTP ; ; ; ; Turn off syslogging (can also be done by providing the command line switch -V debug 0 ; 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/k/d ; 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 quit
00000000 3b 0a 3b 20 41 6e 20 65 78 61 6d 70 6c 65 20 73 |;.; An example s| 00000010 63 72 69 70 74 65 64 20 73 65 73 73 69 6f 6e 20 |cripted session | 00000020 66 6f 72 20 61 75 74 6f 6d 61 74 69 63 20 75 73 |for automatic us| 00000030 65 20 6f 66 20 73 46 54 50 0a 3b 0a 3b 0a 3b 0a |e of sFTP.;.;.;.| 00000040 3b 20 54 75 72 6e 20 6f 66 66 20 73 79 73 6c 6f |; Turn off syslo| 00000050 67 67 69 6e 67 20 28 63 61 6e 20 61 6c 73 6f 20 |gging (can also | 00000060 62 65 20 64 6f 6e 65 20 62 79 20 70 72 6f 76 69 |be done by provi| 00000070 64 69 6e 67 20 74 68 65 20 63 6f 6d 6d 61 6e 64 |ding the command| 00000080 20 6c 69 6e 65 20 73 77 69 74 63 68 20 2d 56 0a | line switch -V.| 00000090 64 65 62 75 67 20 30 0a 3b 20 4c 6f 67 69 6e 20 |debug 0.; Login | 000000a0 74 6f 20 44 65 6c 74 61 6e 65 74 20 72 75 6e 6e |to Deltanet runn| 000000b0 69 6e 67 20 6f 6e 20 6d 79 20 6c 6f 63 61 6c 20 |ing on my local | 000000c0 6d 61 63 68 69 6e 65 0a 6f 70 65 6e 20 6c 6f 63 |machine.open loc| 000000d0 61 6c 68 6f 73 74 0a 3b 20 6c 6f 67 69 6e 20 61 |alhost.; login a| 000000e0 73 20 74 68 65 20 75 73 65 72 20 61 6e 6f 6e 79 |s the user anony| 000000f0 6d 6f 75 73 0a 61 6e 6f 6e 79 6d 6f 75 73 0a 3b |mous.anonymous.;| 00000100 20 73 75 70 70 6c 79 20 70 61 73 73 77 6f 72 64 | supply password| 00000110 20 28 6f 75 72 20 65 6d 61 69 6c 20 61 64 64 72 | (our email addr| 00000120 65 73 73 29 0a 63 61 72 6f 6c 40 6e 6f 63 74 75 |ess).carol@noctu| 00000130 72 6e 61 6c 2e 64 65 6d 6f 6e 2e 63 6f 2e 75 6b |rnal.demon.co.uk| 00000140 0a 3b 20 73 65 74 20 74 68 65 20 72 65 6d 6f 74 |.; set the remot| 00000150 65 20 64 69 72 65 63 74 6f 72 79 20 74 6f 20 6a |e directory to j| 00000160 75 6d 70 20 74 6f 0a 63 64 20 2f 70 75 62 2f 6b |ump to.cd /pub/k| 00000170 2f 64 0a 3b 20 73 65 74 20 74 68 65 20 6c 6f 63 |/d.; set the loc| 00000180 61 6c 20 64 69 72 65 63 74 6f 72 79 20 74 6f 20 |al directory to | 00000190 64 6f 77 6e 6c 6f 61 64 20 74 6f 0a 6c 63 64 20 |download to.lcd | 000001a0 24 2e 74 65 6d 70 0a 3b 20 6f 70 65 6e 20 74 68 |$.temp.; open th| 000001b0 65 20 64 6f 77 6e 6c 6f 61 64 73 20 64 69 72 65 |e downloads dire| 000001c0 63 74 6f 72 79 0a 64 6f 77 6e 6c 6f 61 64 73 0a |ctory.downloads.| 000001d0 3b 20 74 75 72 6e 20 6f 66 66 20 63 6f 6e 66 69 |; turn off confi| 000001e0 72 6d 61 74 69 6f 6e 20 6f 66 20 6f 76 65 72 77 |rmation of overw| 000001f0 72 69 74 65 73 0a 70 72 6f 6d 70 74 0a 3b 20 74 |rites.prompt.; t| 00000200 75 72 6e 20 6f 66 66 20 73 65 72 76 65 72 20 6d |urn off server m| 00000210 65 73 73 61 67 65 73 0a 76 65 72 62 6f 73 65 0a |essages.verbose.| 00000220 3b 20 67 65 74 20 61 6c 6c 20 74 68 65 20 66 69 |; get all the fi| 00000230 6c 65 73 20 69 6e 20 74 68 65 20 63 75 72 72 65 |les in the curre| 00000240 6e 74 20 72 65 6d 6f 74 65 20 64 69 72 65 63 74 |nt remote direct| 00000250 6f 72 79 0a 6d 67 65 74 20 2a 20 2d 61 0a 3b 20 |ory.mget * -a.; | 00000260 65 6e 64 20 74 68 65 20 73 65 73 73 69 6f 6e 0a |end the session.| 00000270 71 75 69 74 0a |quit.| 00000275