On Sun, Mar 05, 2000 at 06:20:03PM -0500, Sean MacLennan wrote:
>
> Anybody know what the arguments are supposed to be to the ctest
> provided in the coda rpc2 directory?
It is used to connect to `stest' in the same directory. stest is a
simple sftp server, ctest is the client.
> Debug level? 9
> [18:15:41]Main Process: "rpc2b.c", line 93: RPC2_Init()
> [18:15:41]Main Process: "multi3.c", line 91: In rpc2_InitMgrp()
> [18:15:41]Main Process: "sftp1.c", line 107: SFTP_Init()
> SocketListener started
> SocketListener back
> Init: RPC2_SUCCESS
> Host? testserver.coda.cs.cmu.edu
We're not running an stest :)
> Port number? 1036
> Side Effect Type (0 or 1189)? 0
1189 is the SFTP sideeffect, you probably want that.
> Security [98(OK), 12(AO), 73(HO), 66(S)]? 98
98 (open kimono) is what I pick here as well, others are not as well
tested and might be broken.
> Identity [.]?
Just type a character, it is not really used for anything. Once ctest
connects you get a couple of options to choose from.
0 Help
1 Quit
6 FetchFile -- fetch a file from the server
7 StoreFile -- send a file to the server
Both have the same question set:
Request body length (0 unless testing piggybacking): 0
Local seek offset? (0): 0
Local byte quota? (-1): -1
Local file name ('-' for stdin/stdout, '/dev/mem' for VM file):
filehere
Reply body length (0 unless testing piggybacking): 0
Remote seek offset (0) : 0
Remote byte quota (-1): -1
9 Stats -- dump local rpc2/sftp packet statistics
10 RemoteStats -- dump remote rpc2/sftp packet statistics
Jan