Re: PowerBuilder and GetAttributes not firing attr - WeOnlyDo Discussion board

Re: PowerBuilder and GetAttributes not firing attr (General questions)

by fundementals, Wednesday, September 16, 2009, 19:26 (5548 days ago) @ woddrazen

I have a debugging system that outputs to a file every event that is fired, a copy of the file is shown here.

Log start at 18:04:02
upload Opened
Starting ue_next_done
0:Disconnected from server.
1:Connecting to server.
3:Sending authentication data.
Connected 0
4:Connected to server - idle.
14:Downloading directory list from the server.
13:Setting transfer mode.
7:Changing current directory.
14:Downloading directory list from the server.
5:Getting data channel.
listitems triggeredtype=dir;sizd=512;modify=20060827150328;UNIX.mode=0700;UNIX.uid=4294967295;UNIX.gid=4294967295;unique=0g0; _private

14:Downloading directory list from the server.
Beforeviewchange triggered
Actionviewchange triggered
done event 4 1 OK
Starting ue_next_done
End of Connect
4:Connected to server - idle.
14:Downloading directory list from the server.
13:Setting transfer mode.
7:Changing current directory.
14:Downloading directory list from the server.
5:Getting data channel.
listitems triggeredtype=cdir;sizd=512;modify=20090916170327;UNIX.mode=0700;UNIX.uid=4294967295;UNIX.gid=4294967295;unique=0g0; .

14:Downloading directory list from the server.
done event 4 2 OK
Starting ue_next_done
End of DirList
Start of GetSize
4:Connected to server - idle.
25:Checking file or folder attributes.
done event 4 3 OK
Starting ue_next_done
End of GetSize
4:Connected to server - idle.
disconnected triggered

I have edited out some of the files that came through when listitems was run.

The lines that start with a number and a colon are the statechange event.
Connected 0 is connected without errorcode and relates to event 'connected'
listitems triggered relates to event listitems
Beforeviewchange triggered relates to event Beforeviewchange
Actionviewchange triggered relates to event Actionviewchange
done event 4 1 OK means the done event was fired, the state was 4, it was finishing the 1st command and the errorcode was 0
disconnected triggered relates to event disconnected

The Start of GetSize has a state change to 25 Checking file or folder attributes, and then goes straight to the done event. Both the Attribute event and the attribute64 event should have produced lines in this log if they had run.

The other lines in the file relate to PowerBuilder, ue_next_done, is triggered from the done event and 'Start of' and 'End of' are indications of what happens next.

I hope this makes sense.

Cheers

Charles


Complete thread: