Our job has:
Code: Select all
cd /data/isr/input/
put //DD:DOWNLOAD $RFIL
Code: Select all
cozsftp> cd /data/isr/input/
cozsftp> put //DD:DOWNLOAD isr_050922.ZIP
Uploading //DD:DOWNLOAD to /data/isr/input/isr_050922.ZIP
Code: Select all
cozsftp> cd /data/isr/input/
cozsftp> put //DD:DOWNLOAD isr_051022.ZIP
Uploading //DD:DOWNLOAD to /data/isr/input/isr_051022.ZIP/DD:DOWNLOAD
Notice "/DD:DOWNLOAD" is append to the remote file name. When I send to a test sftp server using V7.0.2 everything works as normal.
I turned on ssh debug (-vvv) and to the test server where everything works I see:
Code: Select all
%10:26:46.201486% debug3: remote_is_dir: path="/data/isr/input/isr_051122.ZIP" isDir=0
Code: Select all
%10:26:46.203645% debug3: Sent message SSH2_FXP_OPEN I:5 O:x1a P:/data/isr/input/isr_051122.ZIP
Code: Select all
%10:26:16.673519% debug3: remote_is_dir: path="/data/isr/input/isr_051122.ZIP" isDir=1
Code: Select all
%10:26:16.675440% debug3: Sent message SSH2_FXP_OPEN I:5 O:x1a P:/data/isr/input/isr_051122.ZIP/DD:DOWNLOAD
I'm not sure what the "remote_is_dir" is or means or why their server seems to return "1" and my test server returns a "0".
I noticed under V1.7.2 I don't see the "remote_is_dir" in the ssh debug, so I'm assuming that this is something that was added between our ancient level of V1.7.2 and V7.0.2.
I hope this makes sense.