resumesupport switch not recognized as switch in sftp put command

Advertisement

Tom Ambros
Joined:
Posts:
7

resumesupport switch not recognized as switch in sftp put command

Release 5.5.1, I have users running 5.5.1 successfully using the switch but one user seems unable. I can not recreate the issue but I am running 5.5.6 myself.
>> Bat file:
REM cd C:\Program Files (x86)\WinSCP
ERASE "U:\FTPDOWN\0002-WinSCP_KCBNK_Cmd.log"
WinSCP.com "/script=U:\FTPDOWN\0002-WinSCP_KCBNK_Cmd.TXT" /ini=nul "/log=U:\FTPDOWN\0002-WinSCP_KCBNK_Cmd.log"

I'm guessing they already cd'ed because they do find the code.
Put command:

option batch abort
option confirm OFF
open sftp://userid:12345678@mf-ssh2plx00.ourdomain.com/ -hostkey=*

PUT "–resumesupport=off" "-nopreservetime" "H:\DataExtract\KCB_Extract\KCBNK_F.TXT" "/ftadv:B=0,SPACE_UNIT=CYLS,PRI=500,SEC=500,O=VB,R=500/__'EAS.T.CR0A9N99.CLNT.BUDX.KCBNK.FP(+1)'"

The ftadv business is Tectia for zOS - not at issue here, I do the same thing trying to recreate error.

Log segment:

> 2015-09-08 17:14:17.896 Script: PUT "–resumesupport=off" "-nopreservetime" "H:\DataExtract\KCB_Extract\KCBNK_F.TXT" "/ftadv:B=0,SPACE_UNIT=CYLS,PRI=500,SEC=500,O=VB,R=500/__'EAS.T.CR0A9N99.CLNT.BUDX.KCBNK.FP(+1)'"
. 2015-09-08 17:14:17.928 Copying 2 files/directories to remote directory "/ftadv:B=0,SPACE_UNIT=CYLS,PRI=500,SEC=500,O=VB,R=500/"
. 2015-09-08 17:14:17.943 PrTime: No; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask: __'EAS.T.CR0A9N99.CLNT.BUDX.KCBNK.FP(+1)'
. 2015-09-08 17:14:17.943 TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; InclM:
. 2015-09-08 17:14:17.943 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
* 2015-09-08 17:14:17.974 (EOSError) System Error. Code: 2.

* 2015-09-08 17:14:17.974 The system cannot find the file specified
. 2015-09-08 17:14:17.974 Asking user:
. 2015-09-08 17:14:17.974 File or folder '–resumesupport=off' does not exist. ("System Error. Code: 2.

Full log/script attached. What is the issue with this? It looks like it ought to work. We're not seeing what we're doing wrong. Thanks

Reply with quote

Advertisement

Tom Ambros

Thanks. That's what I get for cutting and pasting from text files, IMs or Outlook mail items. When I gave the user the parm I didn't actually type it in. At least you got me to find a good hex editor for Windows. Thank you again... I knew it was some silly mistake here.

Reply with quote

Advertisement

You can post new topics in this forum