Command Line with VMS

Report client bugs
Post Reply
MuniciNET
Posts: 3
Joined: Mon Jan 29, 2007 8:23 pm

Command Line with VMS

Post by MuniciNET »

I am trying to download a file from a VMS host using this command line:

"E:\Program Files\CoreFTP\coreftp.exe" -d -site MMS_Alpha SYS$SYSDEVICE:[000000.PCCOMMON]FORMS_DATA.csv -p "E:\MMS CIS\Backup" -o

and can't get it to work. Naturally, it works OK from within the CoreFTP program.

What am I missing?
MuniciNET
Posts: 3
Joined: Mon Jan 29, 2007 8:23 pm

Post by MuniciNET »

Thanks for your reply. Here is the log (it looks like I've made a little progress using your suggestion, but not quite there yet)
:
Started on Friday February 02, 2007 at 11:16:AMConnect socket #1544 to 10.0.0.250, port 21...220 mmsint FTP Server (Version V4.1-12) Ready.

USER mmsftp

331 Username MMSFTP requires a Password.

PASS **********

230 User logged in.

SYST

200 VMS VAX/VMS V7.1 on node mmsint

PWD

257 "SYS$SYSDEVICE:[MMSFTP]" is current directory.

CWD SYS$SYSDEVICE:[MMSFTP]

250 CWD command succesful.

PORT 10,0,0,2,40,197

200 PORT command successful.

LIST

150 Opening data connection for SYS$SYSDEVICE:[MMSFTP] (10.0.0.2,60001)

226 LIST Directory transfer complete.

Transferred 191 bytes in 0.008 seconds

CWD

550 Failed to set default directory to

TYPE I

200 TYPE set to IMAGE.

PORT 10,0,0,2,40,198

200 PORT command successful.

RETR SYS$SYSDEVICE:[000000.PCCOMMON]FORMS_DATA.csv

150 Opening data connection for SYS$SYSDEVICE:[000000.PCCOMMON]FORMS_DATA.csv (10.0.0.2,60002)

550 Failed to send data on socket.

Can't open desination file

- 0 bytes transferred

MDTM SYS$SYSDEVICE:[000000.PCCOMMON]FORMS_DATA.csv

502 MDTM is unimplemented.

Total uploaded files: 0

Total uploaded data: 0

Total downloaded files: 1

Total downloaded data: 0
MuniciNET
Posts: 3
Joined: Mon Jan 29, 2007 8:23 pm

Still not right...

Post by MuniciNET »

OK. DEC VMS CAN'T use passive. IT MUST BE DISABLED.

The process of downloading a file works WITHOUT problems doing it manually through CoreFTP. The problem seems to be getting it to work with the command line. It worked with another FTP client, but I wanted to use CoreFTP on this installation.
Post Reply