Previous Thread
Next Thread
Print Thread
xtext and ftpdlx error code 30031 #33753 05 Jan 21 09:17 PM
Joined: Jun 2001
Posts: 425
V
Valli Information Systems Online Content OP
Member
OP Online Content
Member
V
Joined: Jun 2001
Posts: 425
i use xtext to edit a email message (a string message) , if i do not change the default verbiage works fine, change the verbiage, tell xtext to save the changes (thou again this is not a file) then i get ftpdlx error code 30031
C:\ATE\dsk0\001004>type ftpdlx.log
2:04:00 PM FTPDLX Debug: Paramcount: 12
2:04:00 PM Server: lwprod1 Flags: 337 Port: 22 Timeout: 0
2:04:00 PM Login: oedwards
2:04:00 PM LocalPath: C:\ATE\Cache\55840.tmp
2:04:00 PM RemoteFile: /tmp/55840.tmp
2:04:00 PM RemoteDir:
2:04:00 PM Connecting...
2:04:01 PM OK
2:04:01 PM Starting transfer, passive = False Transfer method = 1
2:04:01 PM PutFile C:\ATE\Cache\55840.tmp, /tmp/55840.tmp
2:04:01 PM Done Event: Errorcode=30031
2:04:01 PM Error = 30031 Server returned an error:

these worked find up until we changed out our vpn routers, new default gateway,. i don't understand why it is trying to transfer anything via ftp and have tried the TXFF_RAWBUF option. the text should all be in memory

T'OPCODE = 1 ! Create new control
T'FLAGS = 0
T'FLAGS = T'FLAGS + TXF_WRAP ! Word Wrap
T'FLAGS = T'FLAGS + TXF_FITVIEW ! Word Wrap based on width
T'FLAGS = T'FLAGS + TXF_EOT
! T'FLAGS = T'FLAGS + TXF_TOOLBAR ! Display Toolbar
! TXC'TOOLBARMASK = 65536 ! No 2nd line of toolbar
TXC'DOCFMT'SRC = TXFF_STRING ! Source is text
TXC'DOCFMT'DST = TXFF_STRING ! Destination is text
1490 TXC'WRAPWIDTH = 0 ! [103] (use ruler width)
1500 TXC'MAXBYTES = 0 ! [103] (unlimited; will be tr
SROW = 6 : SCOL = 2 : EROW = 22 : ECOL = 78
xcall XTEXT,T'OPCODE,T'FLAGS,EM'COMMENT,EM'COMMENT,SROW,SCOL,EROW,ECOL,T'EXITC

thanks

Re: xtext and ftpdlx error code 30031 [Re: Valli Information Systems] #33754 06 Jan 21 12:02 AM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
If the FTP problem surfaced when you changed routers, it's possible that the router is either blocking FTP entirely, or doesn't like the FTPDLX version of the protocol. That's one reason we switched in 6.5.1676.3 (on the server side) to use FTP2 instead.

That doesn't answer the question of why it's doing a file transfer at all. It will use file transfer to return the updated buffer, but only if you don't specify the TXFF_RAWBUF option in the TXC'DOCFMT'DST field. (It's not clear from your description whether you tried the flag on the TXC'DOCFMT'SRC or 'DST.)

It would probably be helpful if you activated the trace window with the ATE trace turned on. One the first messages on exit from editing mode starts with rcv: rtype=? where ? should be a numeric digit -- 0 for the raw text transfer mode, otherwise it uses the file transfer mode.

Re: xtext and ftpdlx error code 30031 [Re: Valli Information Systems] #33755 06 Jan 21 01:27 AM
Joined: Jun 2001
Posts: 425
V
Valli Information Systems Online Content OP
Member
OP Online Content
Member
V
Joined: Jun 2001
Posts: 425
misunderstood the documentation on txff_rawbuf thought it was suppose to go on the txc'docfmt'src not the txc'docfmt'dst. now works with it set on txc'docfmt'dst. thanks as for ftp , only xtext is having the problem, i use the extented tab (-10,22) else wheres with no problem

thanks again


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3