FETZER@NMFECC.ARPA (03/03/88)
Hello Netlanders! Here comes a long message/question related to FTP. If you're dis- interested, you might wish to skip the rest of this... Ok, I'm trying to retreive a file from MIT-MC through the FTP at our VAX (CCC at NMFECC) which is a TCP/IP code. MIT_MC, however, is running under an ITS operating system. I.e., the file name syntax is DSK:DIRECT;NAME01 NAME02 where each field (except for disk) has six characters. Both name fields are required to uniquely specify the file which is to be retrieved. FTP on VAXen, however, accepts spaces only as syntax delimiters. I.e., it thinks I want to get the file DIRECT;NAME01 at the remote host and put it in NAME02.;1 at CCC. Does anyone have the slightest clue as to how I can get around this? One proposed solution was to use the QUOTE command which is supported on our crays. I attempted this with the following input file: connect MIT-MC.ARPA type a n mode s quote port 26,9,0,21,7,222 quote retr comail;nihon go here are the results of that endeavour: FTP v.22 02/29/88 17:56:13 c 03/02/88 12:23:13 This is a BETA release of the FTP client for the Cray. Type HELP for information on commands, documentation, reporting problems or suggestions. Connect to host: MC.LCS.MIT.EDU CPU or machine: PDP-10 Operating system: ITS 220- MC.LCS.MIT.EDU ITS 1615, FTP server 331 on 2 MAR 1988 1524 EST 220 Bugs/gripes to BUG-FTP @ MIT-MC Connection opened (assuming 8-bit connection) Type = ASCII or TEXT, Form = NON-PRINT Mode = STREAM SEND "port 26,9,0,21,7,222" QUOTE NSWRITE completed 200 OK, port 2014 SEND "retr comail;nihon go" QUOTE NSWRITE completed 150 Look out! Here comes DSK:COMAIL;NIHON GO 425 Can't connect to your port 2014 - state 0 ***ERROR #9 func=QUOTE cmd=QUOTE pc=00165000pa [Remote server is turning down connect requests at this time ] EXECCMD = 9 Connection(s) closed CPU microseconds = 30076 I/O microseconds = 898000 SYS microseconds = 31178 MEM word-microseconds = 1360431703182 CPU overlap microseconds = 38819 MEM microseconds = 13929715 Could someone out there make my day and tell me what is going on? Mike ----------------------------------------------------------------- | Michael Fetzer | ----------------------------------------------------------------- | U. C. S. D. | T. S. R. Inc. | | Dept. of Physics B-019 | 3933 1/2 Riviera Dr. | | La Jolla, CA | San Diego CA 92109 | | (619) 534-5304 | (619) 270-4965 | ----------------------------------------------------------------- | Internet: FETZER@nmfecc.ARPA | | MFEnet: FETZER@ccc.mfenet | | BITNET: FETZER%ccc.mfenet@SDSC.BITNET | | -----------------------------------------------------------------
bzs@bu-cs.BU.EDU (Barry Shein) (03/07/88)
>Ok, I'm trying to retreive a file from MIT-MC through the FTP at our >VAX (CCC at NMFECC) which is a TCP/IP code. MIT_MC, however, is >running under an ITS operating system. I.e., the file name syntax is > > DSK:DIRECT;NAME01 NAME02 You don't say which version of FTP you are using under VMS but using WIN FTP I just tried one and all you have to do is type get with no arguments and it prompts for the local and remote file names and doesn't seem to mind the spaces at all at that point, only minds them if you type the file names on the same line as the 'get' command. Try it, maybe it will work for you too... -Barry Shein, Boston University