Thread View: vmsnet.misc
2 messages
2 total messages
Started by Hugh D.R. Evans (ESA/ESTEC/WMA N...
Mon, 16 Nov 1992 14:30
Using FTP in command files.
Author: Hugh D.R. Evans (ESA/ESTEC/WMA N...
Date: Mon, 16 Nov 1992 14:30
Date: Mon, 16 Nov 1992 14:30
33 lines
1313 bytes
1313 bytes
Ok. I read the bookreader book "DEC TCP/IP Services for VMS Use" and in particular section 4.4 Using FTP from a command procedure. It even gave an example: FTP Connect "harry" LOGIN=(USER_NAME="myusername",PASSWORD=mypassword) None of which worked. It connected fine, once the quote marks were removed from around the node name. The session went: $set verify $@ftp.com $FTP connect estwm8 220 ESTWM8 FTP Server (UCX Version 2.0) Ready. Connected to ESTWM8. LOGIN=(USER_NAME="hevans",PASSWORD=mypassword) %CLI-W-PARMDEL, invalid parameter delimiter - check use of special characters \=\ dir 425 Not logged in. exit $EXIT So, what is going on? Does this "feature" really work or is the manual ahead of the software? Hugh. P.S. I also tried it without the '=' and it still didn't work.
Re: Using FTP in command files.
Author: Jeff Silverman
Date: Tue, 17 Nov 1992 06:36
Date: Tue, 17 Nov 1992 06:36
62 lines
2240 bytes
2240 bytes
hevans@estwm8.wm.estec.esa.nl (Hugh D.R. Evans (ESA/ESTEC/WMA Netherlands)) writes: >Ok. I read the bookreader book "DEC TCP/IP Services for VMS Use" and in >particular section >4.4 Using FTP from a command procedure. It even gave an example: >FTP >Connect "harry" >LOGIN=(USER_NAME="myusername",PASSWORD=mypassword) >None of which worked. It connected fine, once the quote marks were >removed from around the >node name. The session went: >$set verify >$@ftp.com >$FTP >connect estwm8 >220 ESTWM8 FTP Server (UCX Version 2.0) Ready. >Connected to ESTWM8. >LOGIN=(USER_NAME="hevans",PASSWORD=mypassword) >%CLI-W-PARMDEL, invalid parameter delimiter - check use of special characters > \=\ >dir >425 Not logged in. >exit >$EXIT >So, what is going on? Does this "feature" really work or is the manual >ahead of the software? >Hugh. >P.S. I also tried it without the '=' and it still didn't work. I talked at length with DEC on the subject and the problem is that the manual documents a feature which might be implemented. I get the distinct impression that UCX is a product which was rushed out the door, as there as many bugs in the documentation, including stupid production problems. Now, the people who are implementing UCX are clever people - I've talked to them, and they're good - but the product was rushed. Anyway, suppose you wish to copy file FILE from node NODE, username USERNAME password PASSWORD, etc. Use the following: $ OPEN/WRITE Y SYS$SCRATCH:TEMP.COM $ WRITE Y "$ FTP ''node'" $ WRITE Y "USERNAME ''username'" $ WRITE Y "''password'" $ WRITE Y "GET ''file'" $ WRITE Y "$ EXIT 1 ! no way to get status" $ CLOSE Y $ @ SYS$SCRATCH:TEMP.COM $ DEL SYS$SCRATCH:TEMP.COM; Lousy solution, isn't it? DEC didn't implement RCP, so that's about the best you can do. Regards, Jeff Silverman, Boeing Commercial Airplane.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads