Desperate: File Transfert on Open VMS not working
With the last version of WinSCP, I was able now to connect to a FTP hosted on a OpenVMS server (good news). I was able to see files in directory, to change directory, but the file transfert always failed with a "%RMS-F-DIR, error in directory name".
In the part of log below, you can see the
CWD
command used to change the directory on the server, and the command was successful. I can see the list of files in the directory correctly.
. 2017-05-26 17:40:36.917 Cached directory change via "/$1$DIA1:[000000.DEVEL.INTGPC]" to "/$1$DIA1:[000000.DEVEL.INTGPC]". . 2017-05-26 17:40:36.917 Getting current directory name. . 2017-05-26 17:40:36.917 Retrieving directory listing... > 2017-05-26 17:40:36.917 CWD /$1$DIA1:[000000.DEVEL.INTGPC] < 2017-05-26 17:40:36.949 250 CWD command okay. > 2017-05-26 17:40:36.949 PWD < 2017-05-26 17:40:36.949 257 "$1$DIA1:[000000.DEVEL.INTGPC]" > 2017-05-26 17:40:36.949 TYPE A < 2017-05-26 17:40:36.949 200 TYPE command okay. > 2017-05-26 17:40:36.949 PORT 10,190,56,163,219,26 < 2017-05-26 17:40:36.964 200 PORT command okay. > 2017-05-26 17:40:36.964 LIST < 2017-05-26 17:40:36.964 150 Opening data connection for directory. < 2017-05-26 17:40:37.339 226 Closing data connection. . 2017-05-26 17:40:37.339 Data connection closed . 2017-05-26 17:40:37.339 Directory $1$DIA1:[000000.DEVEL.INTGPC] . 2017-05-26 17:40:37.339 DESKTOP.INI;1 1 18-MAY-2017 16:03:22.67 . 2017-05-26 17:40:37.339 DF874FDR.TXT;2 1 3-MAY-2017 22:52:58.53 . 2017-05-26 17:40:37.339 DF874FDR.TXT;1 1 3-MAY-2017 20:58:42.67 . 2017-05-26 17:40:37.339 GFRTAE1.MB01011601;1 . 2017-05-26 17:40:37.339 0 3-MAY-2017 13:59:10.75 . 2017-05-26 17:40:37.339 GFRTAE1.MB03051701;1 . 2017-05-26 17:40:37.339 19 3-MAY-2017 14:01:26.36 . 2017-05-26 17:40:37.339 Total of 5 files, 22 blocks. . 2017-05-26 17:40:37.339 Directory listing successful . 2017-05-26 17:40:37.339 Got reply 1 to the command 2 . 2017-05-26 17:40:37.339 ..;D;0;1899-12-30T01:00:00.000Z;0;"" [0];"" [0];---------;0 . 2017-05-26 17:40:37.339 DESKTOP.INI;-;512;2017-05-18T14:03:00.000Z;1;"" [0];"" [0];---------;0 . 2017-05-26 17:40:37.339 DF874FDR.TXT;-;512;2017-05-03T20:52:00.000Z;1;"" [0];"" [0];---------;0 . 2017-05-26 17:40:37.339 GFRTAE1.MB01011601;-;512;2017-05-03T18:58:00.000Z;1;"GFRTAE1.MB01011601;1" [0];"" [0];---------;0 . 2017-05-26 17:40:37.339 GFRTAE1.MB03051701;-;0;2017-03-03T19:58:00.000Z;1;"GFRTAE1.MB03051701;1" [0];"" [0];---------;0
CWD
command, but the command failed (the CWD
command is identical to the one used previously, exception for an extra /
at the end of the command). The file transfer seems to fail because this CWD
command was failed.
. 2017-05-26 17:40:40.652 Copying 1 files/directories to remote directory "/$1$DIA1:[000000.DEVEL.INTGPC]/" . 2017-05-26 17:40:40.652 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: Yes; Mask: *.* . 2017-05-26 17:40:40.652 TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; InclM: ; ResumeL: 0 . 2017-05-26 17:40:40.652 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml . 2017-05-26 17:40:40.652 File: 'C:\Users\xxx\Desktop\TEST.txt' [2017-05-03T18:40:58.089Z] [58] . 2017-05-26 17:40:40.652 Copying "C:\Users\xxx\Desktop\TEST.txt" to remote directory started. . 2017-05-26 17:40:40.652 Binary transfer mode selected. . 2017-05-26 17:40:40.652 Starting upload of C:\Users\xxx\Desktop\TEST.txt > 2017-05-26 17:40:40.652 CWD /$1$DIA1:[000000.DEVEL.INTGPC]/ < 2017-05-26 17:40:40.668 550 %RMS-F-DIR, error in directory name > 2017-05-26 17:40:40.668 CWD / < 2017-05-26 17:40:40.683 250 CWD command okay. > 2017-05-26 17:40:40.683 MKD $1$DIA1:[000000.DEVEL.INTGPC] < 2017-05-26 17:40:40.683 501 %RMS-F-DIR, error in directory name > 2017-05-26 17:40:40.683 CWD /$1$DIA1:[000000.DEVEL.INTGPC]/ < 2017-05-26 17:40:40.699 550 %RMS-F-DIR, error in directory name . 2017-05-26 17:40:40.699 Copying files to remote side failed. . 2017-05-26 17:40:40.699 Got reply 2004 to the command 4 * 2017-05-26 17:40:40.699 (ExtException) **Copying files to remote side failed.** * 2017-05-26 17:40:40.699 %RMS-F-DIR, error in directory name . 2017-05-26 17:40:40.699 Asking user: . 2017-05-26 17:40:40.699 Error transferring file 'C:\Users\xxx\Desktop\TEST.txt'. ("Copying files to remote side failed.","%RMS-F-DIR, error in directory name")
Desperate!