Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Xmodem:Transfer status:Packet type error

8 views
Skip to first unread message

rkin...@my-dejanews.com

unread,
Apr 29, 1999, 3:00:00 AM4/29/99
to
I am creating an Aspect script to download a file from the Advantis
network using Xmodem protocol. After a series of log-in commands to
Advantis that execute correctly, I try to execute:
GETFILE XMODEM "ADVANTST.FLE"
WHILE $XFERSTATUS
YIELD
ENDWHILE
This command creates an Xmodem pop-up status window that shows
Bytecount 0
Transfer status:Packet type error
...
If left in this state the connection eventually times out.

If I click on the Receive File icon in the tool bar, the download works.

I have searched the help file and the Symantec web site for clues as to
what may cause this type of error with out success.

Any suggestions would be greatly appreciated.

----- Posted via Deja.com, The People-Powered Information Exchange -----
------ http://www.deja.com/ Discussions * Ratings * Communities ------

John Schultz

unread,
Apr 30, 1999, 3:00:00 AM4/30/99
to
In article <7gadj5$2c0$1...@nnrp1.dejanews.com>,

rkin...@my-dejanews.com wrote:
> I am creating an Aspect script to download a file from the Advantis
> network using Xmodem protocol. After a series of log-in commands to
> Advantis that execute correctly, I try to execute:
> GETFILE XMODEM "ADVANTST.FLE"
> WHILE $XFERSTATUS
> YIELD
> ENDWHILE
> This command creates an Xmodem pop-up status window that shows
> Bytecount 0
> Transfer status:Packet type error
> ...
> If left in this state the connection eventually times out.
>
> If I click on the Receive File icon in the tool bar, the download works.

Does your script send all required commands to the Advantis system to start
the download? One way you can determine this is to comment out the code
above, recompile and run your script, and click on the Receive File icon as
you mention doing above (I wasn't clear if this was what you were doing, so
you may have already thought of this).

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

rkin...@my-dejanews.com

unread,
Apr 30, 1999, 3:00:00 AM4/30/99
to
When I comment out the getfile and click on the Receive File
icon while still executing the script, the file download works fine.
I inserted a pause 60 in place of the getfile to keep the script active.

John Schultz

unread,
May 1, 1999, 3:00:00 AM5/1/99
to
In article <7gcfj8$qrc$1...@nnrp1.dejanews.com>,

rkin...@my-dejanews.com wrote:
> When I comment out the getfile and click on the Receive File
> icon while still executing the script, the file download works fine.
> I inserted a pause 60 in place of the getfile to keep the script active.

That's very strange. Does a zero-byte file get created on your system at
all? Does the error occur immediately when the script attempts the download?
Do you have an external modem? If so, watch the receive data light (most
likely RD) and see if any data is being sent from the other system when the
transfer is started. Although it sounds like your script is working OK (with
the exception of the GETFILE command), you might want to post the part of the
script where you start the Xmodem transfer to see if anything jumps out at
me.

rkin...@my-dejanews.com

unread,
May 3, 1999, 3:00:00 AM5/3/99
to
John,
I tried to follow your advice and look for RD light when the getfile is
issued in the script. I could not tell for sure whether the RD light
was comming on for the prior command (+SELECT) or the getfile so I
inserted a "pause 15" statement between the two. After I inserted the
pause statement, the getfile now works correctly. I'm going to adjust
the number of seconds to see what the minimum wait needs to be for this
to work correctly. The sample code that seems to work correctly
follows:
TERMMSG "SEND +SELECT;`r`n"
TRANSMIT "+SELECT;^M"
WAITFOR "+SELECT DOCUMENTS FOLLOW" 45
;
IF FAILURE
GOTO FAIL03
ENDIF
TERMMSG "`r`n"
pause 15

GETFILE XMODEM "ADVANTST.FLE"
WHILE $XFERSTATUS
YIELD
ENDWHILE
GOTO LOGOFFIE

Thanks for your help with this problem.
Regards,
Bob Kinross
In article <7gdrn1$mb$1...@nnrp1.dejanews.com>,

----- Posted via Deja.com, The People-Powered Information Exchange -----

0 new messages