VikramChand
Programmer
Hi,
I have been trying to capture file transfer status with $XFERSTATUS for last 2 days but was not successfull.
I have listed the code i have been using in my script.
sendfile ZMODEM sendfilename
iStatus1 = $XFERSTATUS
while iStatus1 == 1
yield
iStatus1 = $XFERSTATUS
endwhile
if iStatus1 == 2
usermsg "in the file status successful condition"
elseif iStatus1 == 3
usermsg "in the file status aborted condition"
call systemdisconnect
endif
the transfer status is becoming ZERO after it exists the while loop and the istatus1 variable also becomes ZERO.
can some one help me to figure this out?
Thanks
Vikram
I have been trying to capture file transfer status with $XFERSTATUS for last 2 days but was not successfull.
I have listed the code i have been using in my script.
sendfile ZMODEM sendfilename
iStatus1 = $XFERSTATUS
while iStatus1 == 1
yield
iStatus1 = $XFERSTATUS
endwhile
if iStatus1 == 2
usermsg "in the file status successful condition"
elseif iStatus1 == 3
usermsg "in the file status aborted condition"
call systemdisconnect
endif
the transfer status is becoming ZERO after it exists the while loop and the istatus1 variable also becomes ZERO.
can some one help me to figure this out?
Thanks
Vikram