Error Uploading Directory tree from Windows OS to OpenVMS

Hi,
Uploading directory tree from Window OS to OpenVMS giving error. In the following case i tried to upload LIB;1 (a directory which i downloaded to Windows from OpenVMS using smart ftp) from local browser to /DKA0:/AIT/AAMIR/ABC/PRO_ARG. I used drag and drop from local browser(window os) to remote browser (openvms 7.2.1) . Following was the log window result:-

[11:56:21] MKD /DKA0:/AIT/AAMIR/ABC/PRO_ARG/LIB;1
[11:57:01] Timeout (40s).
[11:57:01] Active Help: https://www.smartftp.com/support/kb/74
[11:57:01] Client closed the connection.
[11:57:01] Resolving host name "100.1.2.90"
[11:57:01] Connecting to 100.1.2.90 Port: 21
[11:57:01] Connected to 100.1.2.90.
[11:57:01] 220 AIT101.AIT1 FTP Server (Version 5.0) Ready.
[11:57:01] USER ait
[11:57:01] 331 Username ait requires a Password
[11:57:01] PASS (hidden)
[11:57:01] 230 User logged in.
[11:57:01] SYST
[11:57:01] 200 VMS OpenVMS V7.2 on node AIT101.AIT1.
[11:57:01] FEAT
[11:57:01] 502 FEAT is unimplemented.
[11:57:01] TYPE I
[11:57:01] 200 TYPE set to IMAGE.
[11:57:01] REST 0
[11:57:01] 502 REST is unimplemented.
[11:57:01] PWD
[11:57:01] 257 "DKA0:[AIT]" is current directory.
[11:57:01] CWD DKA0:[AIT.AAMIR.ABC.PRO_ARG.LIB]
[11:57:01] 550-Failed to set default directory to DKA0:[AIT.AAMIR.ABC.PRO_ARG.LIB].
[11:57:02] 550 directory not found

[11:57:02] Transfer successful.
[11:57:02] CWD DKA0:[AIT.AAMIR.ABC.PRO_ARG]
[11:57:02] 250-CWD command successful.
[11:57:02] 250 New default directory is DKA0:[AIT.AAMIR.ABC.PRO_ARG]
[11:57:02] PWD
[11:57:02] 257 "DKA0:[AIT.AAMIR.ABC.PRO_ARG]" is current directory.
[11:57:02] TYPE A
[11:57:02] 200 TYPE set to ASCII.
[11:57:02] PASV
[11:57:02] 227 Entering Passive Mode (100,1,2,90,4,44)
[11:57:02] Opening data connection to 100.1.2.90 Port: 1068
[11:57:02] LIST
[11:57:02] 150 Opening data connection for DKA0:[AIT.AAMIR.ABC.PRO_ARG]*.*;* (100.1.2.1,1102)
[11:57:02] 1776 bytes transferred. (86.7 KB/s) (20 ms)
[11:57:02] 226 LIST Directory transfer complete.

Moreover

If i just create subdirectory in remote browser directory /DKA0:/AIT/AAMIR/ABC/PRO_ARG via command window like following:
[12:08:20] mkd lib2
[12:08:20] 257 "DKA0:[AIT.AAMIR.ABC.PRO_ARG.lib2]" directory created.

if i create subdirectory in remote browser directory via command window like following

[12:12:50] MKD /DKA0:/AIT/AAMIR/ABC/PRO_ARG/LIB2
[12:13:30] Timeout (40s).
[12:13:30] Active Help: https://www.smartftp.com/support/kb/74
[12:13:30] Client closed the connection.

It seems device name dka0 is giving error

Plz help
Regard
Masood

Please test it with the latest version from:
https://www.smartftp.com/download

Thank you.
Regards,
SmartFTP

Dear Sir

I have downloaded the latest version from your following site but problem remains

https://www.smartftp.com/download

Plz help
Regards,
masood
[/quote]

Provide the complete log.

Regards,
SmartFTP

Have also the same problem - am using 2.0.997 and can only upload a directory tree if I create any type of file in the tree first Here is the excerpt from the log...


[22:24:26] MKD HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM.images]
[22:24:27] 257 "HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM.images]" directory created.
[22:24:27] CWD HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM.images]
[22:24:27] 250-CWD command successful.
[22:24:27] 250 New default directory is HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM.IMAGES]
[22:24:27] PWD
[22:24:27] 257 "HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM.IMAGES]" is current directory.
[22:24:27] CWD HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM.images]
[22:24:27] 250-CWD command successful.
[22:24:27] 250 New default directory is HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM.IMAGES]
[22:24:27] PWD
[22:24:27] 257 "HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM.IMAGES]" is current directory.
[22:24:27] CWD HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM.images]
[22:24:27] 250-CWD command successful.
[22:24:27] 250 New default directory is HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM.IMAGES]
[22:24:27] PWD
[22:24:27] 257 "HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM.IMAGES]" is current directory.
[22:24:27] PASV
[22:24:27] 227 Entering Passive Mode (192,168,100,200,230,30)
[22:24:27] Opening data connection to 192.168.100.200 Port: 58910
[22:24:27] LIST
[22:24:27] 150 Opening data connection for HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM.IMAGES]*.*;* (192.168.100.14,3990)
[22:24:27] 550 file not found
[22:24:27] 0 bytes transferred. (0 bytes/s) (15 ms)
[22:24:27] Transfer failed.
[22:24:27] CWD HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM]
[22:24:27] 250-CWD command successful.
[22:24:27] 250 New default directory is HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM]
[22:24:27] PWD
[22:24:27] 257 "HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM]" is current directory.
[22:24:27] PASV
[22:24:27] 227 Entering Passive Mode (192,168,100,200,230,31)
[22:24:27] Opening data connection to 192.168.100.200 Port: 58911
[22:24:27] LIST
[22:24:27] 150 Opening data connection for HT_ROOT:[000000.IRISHDANCING.2006.FISHERSGHOSTSATURDAYPM]*.*;* (192.168.100.14,3991)
[22:24:27] 226 LIST Directory transfer complete.
[22:24:27] 8371 bytes transferred. (104 KB/s) (78 ms)
[22:25:17] NOOP
[22:25:17] 200 NOOP Command successful.


Problem seems to be that after creating the directory it does a list and returns an error 550 "file not found". As no files have been uploaded into the newly created directory, finding no files is to be expected, bu the program at that point won't contrinue the transfer. Also, unless I manually create a file in the new directory, I can't transfer any into it either.....

Hello Gremlin ..

Thank you for reporting this problem. Could you post the beginning of the log as well (first 20 lines). This would help us to detect the broken FTP server software and write a workaround in this case.

Thank you.
Regards,
-Mat

This is the log from start, to attempting to copy a directory with files to the VAX


[23:41:26] SmartFTP v2.0.997.4
[23:41:26] Resolving host name "vax"
[23:41:26] Connecting to 192.168.100.200 Port: 21
[23:41:26] Connected to vax.
[23:41:26] 220 alpha.swoose.com.au FTP Server (Version 5.1) Ready.
[23:41:26] USER system
[23:41:27] 331 Username system requires a Password
[23:41:27] PASS (hidden)
[23:41:27] 230 User logged in.
[23:41:27] SYST
[23:41:27] 200 VMS OpenVMS V7.2 on node alpha.swoose.com.au.
[23:41:27] Detected Server Type: VMS
[23:41:27] FEAT
[23:41:27] 502 FEAT is unimplemented.
[23:41:27] TYPE I
[23:41:27] 200 TYPE set to IMAGE.
[23:41:27] REST 0
[23:41:27] 502 REST is unimplemented.
[23:41:27] PWD
[23:41:27] 257 "SYS$SYSROOT:[SYSMGR]" is current directory.
[23:41:27] CWD HT_ROOT:[000000]
[23:41:27] 250-CWD command successful.
[23:41:27] 250 New default directory is HT_ROOT:[000000]
[23:41:27] PWD
[23:41:27] 257 "HT_ROOT:[000000]" is current directory.
[23:41:27] TYPE A
[23:41:27] 200 TYPE set to ASCII.
[23:41:27] PASV
[23:41:27] 227 Entering Passive Mode (192,168,100,200,197,134)
[23:41:27] Opening data connection to 192.168.100.200 Port: 50566
[23:41:27] LIST
[23:41:27] 150 Opening data connection for HT_ROOT:[000000]*.*;* (192.168.100.14,4234)
[23:41:27] 6886 bytes transferred. (106 KB/s) (63 ms)
[23:41:27] 226 LIST Directory transfer complete.
[23:41:48] MKD HT_ROOT:[000000.FourProvinces]
[23:41:48] 257 "HT_ROOT:[000000.FourProvinces]" directory created.
[23:41:48] CWD HT_ROOT:[000000.FourProvinces]
[23:41:48] 250-CWD command successful.
[23:41:48] 250 New default directory is HT_ROOT:[000000.FOURPROVINCES]
[23:41:48] PWD
[23:41:48] 257 "HT_ROOT:[000000.FOURPROVINCES]" is current directory.
[23:41:48] CWD HT_ROOT:[000000.FourProvinces]
[23:41:48] 250-CWD command successful.
[23:41:48] 250 New default directory is HT_ROOT:[000000.FOURPROVINCES]
[23:41:48] PWD
[23:41:48] 257 "HT_ROOT:[000000.FOURPROVINCES]" is current directory.
[23:41:48] CWD HT_ROOT:[000000.FourProvinces]
[23:41:48] 250-CWD command successful.
[23:41:48] 250 New default directory is HT_ROOT:[000000.FOURPROVINCES]
[23:41:48] PWD
[23:41:48] 257 "HT_ROOT:[000000.FOURPROVINCES]" is current directory.
[23:41:48] PASV
[23:41:48] 227 Entering Passive Mode (192,168,100,200,197,135)
[23:41:48] Opening data connection to 192.168.100.200 Port: 50567
[23:41:48] LIST
[23:41:48] 150 Opening data connection for HT_ROOT:[000000.FOURPROVINCES]*.*;* (192.168.100.14,4241)
[23:41:48] 550 file not found
[23:41:48] 0 bytes transferred. (N/A/s) (0 ms)
[23:41:48] Transfer failed.
[23:41:49] CWD HT_ROOT:[000000]
[23:41:49] 250-CWD command successful.
[23:41:49] 250 New default directory is HT_ROOT:[000000]
[23:41:49] PWD
[23:41:49] 257 "HT_ROOT:[000000]" is current directory.
[23:41:49] PASV
[23:41:49] 227 Entering Passive Mode (192,168,100,200,197,136)
[23:41:49] Opening data connection to 192.168.100.200 Port: 50568
[23:41:49] LIST
[23:41:49] 150 Opening data connection for HT_ROOT:[000000]*.*;* (192.168.100.14,4242)
[23:41:49] 7007 bytes transferred. (108 KB/s) (63 ms)
[23:41:49] 226 LIST Directory transfer complete.

Hello ..

Thank you. We decided not to implement a hard-coded work around as the FTP server is clearly not RFC 959 compliant.

The server returns:
[23:41:48] LIST
[23:41:48] 150 Opening data connection for HT_ROOT:[000000.FOURPROVINCES]*.*;* (192.168.100.14,4241)
[23:41:48] 550 file not found

The valid reply codes for a LIST command are:
LIST
125, 150
226, 250
425, 426, 451
450
500, 501, 502, 421, 530

Reference: http://www.faqs.org/rfcs/rfc959.html

Also it looks like only your particular server is affected from the problem. Other FTP servers running on VMS do not have this problem.

Solution
You can enable the "Continue On Error" option in Settings -> Transfer -> Files dialog.

Regards,
-Mat
SmartFTP

Hmm. Let me think about the work around again.

In the meanwhile you can try to use the Transfer Queue for your uploads. This is the preferred way when transferring multiple files and folders. If are not familiar with the Transfer Queue yet, please take a look at the tutorials at:
https://www.smartftp.com/support/howto

The Transfer Queue should ignore the error because it won't list the directory when it's uploading files.

Please let me know about the result.

Regards,
-Mat
SmartFTP

1. Cerberus (latest version) doesn't return 550 on an empty existing directory. See log below:
[00:03:35] SmartFTP v2.0.998.25
[00:03:36] Resolving host name "ftp.myhost.com"
[00:03:36] Connecting to 127.0.0.1 Port: 21
[00:03:36] Connected to ftp.myhost.com.
[00:03:36] 220-Cerberus FTP Server Personal Edition
[00:03:36] 220-UNREGISTERED
[00:03:36] 220-Welcome to Cerberus FTP Server
[00:03:36] 220 Created by Grant Averett
[00:03:36] USER mb
[00:03:36] 331 User mb, password please
[00:03:36] PASS (hidden)
[00:03:36] 230 Password Ok, User logged in
[00:03:36] SYST
[00:03:36] 215 UNIX Type: L8
[00:03:36] Detected Server Type: UNIX
[00:03:36] FEAT
[00:03:36] 211- Additional features supported include:
[00:03:36] MDTM
[00:03:36] SIZE
[00:03:36] REST STREAM
[00:03:36] AUTH TLS
[00:03:36] AUTH SSL
[00:03:36] PBSZ
[00:03:36] PROT
[00:03:36] LANG EN*
[00:03:36] SITE CHMOD
[00:03:36] SITE PSWD
[00:03:36] 211 End
[00:03:36] PWD
[00:03:36] 257 "/" is the current directory
[00:03:36] TYPE A
[00:03:36] 200 Type ASCII
[00:03:36] PASV
[00:03:36] 227 Entering Passive Mode (71,36,11,221,4,8)
[00:03:36] Opening data connection to 71.36.11.221 Port: 1032
[00:03:36] LIST -T
[00:03:37] No connection could be made because the target machine actively refused it.
[00:04:07] Timeout (30s).
[00:04:07] Active Help: https://www.smartftp.com/support/kb/74
[00:04:07] Client closed the connection.
[00:04:07] Automatic failover of data connection mode from "Passive Mode (PASV)" to "Active Mode (PORT)".
[00:04:07] Resolving host name "ftp.myhost.com"
[00:04:07] Connecting to 127.0.0.1 Port: 21
[00:04:07] Connected to ftp.myhost.com.
[00:04:07] 220-Cerberus FTP Server Personal Edition
[00:04:07] 220-UNREGISTERED
[00:04:07] 220-Welcome to Cerberus FTP Server
[00:04:07] 220 Created by Grant Averett
[00:04:07] USER mb
[00:04:07] 331 User mb, password please
[00:04:07] PASS (hidden)
[00:04:07] 230 Password Ok, User logged in
[00:04:07] SYST
[00:04:07] 215 UNIX Type: L8
[00:04:07] Detected Server Type: UNIX
[00:04:07] FEAT
[00:04:07] 211- Additional features supported include:
[00:04:07] MDTM
[00:04:07] SIZE
[00:04:07] REST STREAM
[00:04:07] AUTH TLS
[00:04:07] AUTH SSL
[00:04:07] PBSZ
[00:04:07] PROT
[00:04:07] LANG EN*
[00:04:07] SITE CHMOD
[00:04:07] SITE PSWD
[00:04:07] 211 End
[00:04:07] Detected Server Software: Serv-U 4.x
[00:04:07] PWD
[00:04:07] 257 "/" is the current directory
[00:05:14] CWD /Downloads/Server/a
[00:05:14] 250 Change directory ok
[00:05:14] PWD
[00:05:14] 257 "/Downloads/Server/a" is the current directory
[00:05:17] PORT 127,0,0,1,17,251
[00:05:17] 200 Port command received
[00:05:17] LIST
[00:05:17] 150 Opening data connection
[00:05:17] 226 Transfer complete
[00:05:17] 117 bytes transferred. (N/A/s) (0 ms)

The /Downloads/Server/a directory exists but is empty.

2. Whatever your other source says we believe they are wrong and it seems they are unable to understand the RFCs correctly.
Furthermore 5xx is always an error code. Listing an empty existing directory shouldn't return an error code.

We will no further comment on this issue. Thank you for your understanding.

Regards,
-Mat