FTPc 1.49
Pages: 1 2
Colin (478) 2433 posts |
I’ve updated FTPc to preserve the timestamp when transferring files if the server you are connected to supports the MTMT and MDTM ftp commands. Note the timestamp of directories is not preserved. |
Chris Hall (132) 3554 posts |
I had always wondered why the timestamp was not preserved. My ISP had some sort of hacking problem as all my files got restored and now all have the same datestamp on their server so I can no longer see when they were last updated. Curses. |
David Pitt (102) 743 posts |
This is not to imply that there is any issue with the new On running *FX0 RISC OS 5.23 (03 Oct 2015) *Help DDEUtils Module is: DDEUtils 1.75 (12 Jul 2015) Time: Wed Oct 7 10:29:45 2015 Location: Offset 00000734 in module DDEUtils Current Wimp task: FTPc Last app to start: <FTPc$dir>.!runimage R0 = 00000005 R1 = 213df974 R2 = 00000000 R3 = 213df974 R4 = 213df974 R5 = 00054ea0 R6 = 00000000 R7 = 00008490 R8 = 00000000 R9 = 00053924 R10 = 30000244 R11 = 213df974 R12 = 2109b1b4 R13 = fa207fbc R14 = 20000113 R15 = 213f4cd0 DFAR = 00000000 Mode SVC32 Flags nzCv if PSR = 20000113 213f4c88 : 33a00000 : MOVCC R0,#0 213f4c8c : e4c30001 : STRB R0,[R3],#1 213f4c90 : 2afffffa : BCS &213F4C80 213f4c94 : e1a0800b : MOV R8,R11 213f4c98 : e89d401f : LDMIA R13,{R0-R4,R14} 213f4c9c : e3cee202 : BIC R14,R14,#&20000000 213f4ca0 : e58de014 : STR R14,[R13,#20] 213f4ca4 : ea000003 : B &213F4CB8 213f4ca8 : e2500000 : SUBS R0,R0,#0 213f4cac : e92d403f : STMDB R13!,{R0-R5,R14} 213f4cb0 : e10fe000 : MRS R14,CPSR 213f4cb4 : e58de014 : STR R14,[R13,#20] 213f4cb8 : e1a02008 : MOV R2,R8 213f4cbc : e1a0100b : MOV R1,R11 213f4cc0 : e1a03001 : MOV R3,R1 213f4cc4 : e1a04003 : MOV R4,R3 213f4cc8 * e4d20001 * LDRB R0,[R2],#1 213f4ccc : e4c10001 : STRB R0,[R1],#1 213f4cd0 : e350002e : CMP R0,#&2E ; ="." 213f4cd4 : 05d2e000 : LDREQB R14,[R2,#0] 213f4cd8 : 035e005e : CMPEQ R14,#&5E ; ="^" 213f4cdc : 1a000018 : BNE &213F4D44 213f4ce0 : e5d3e000 : LDRB R14,[R3,#0] 213f4ce4 : e35e0024 : CMP R14,#&24 ; ="$" 213f4ce8 : 135e0040 : CMPNE R14,#&40 ; ="@" 213f4cec : 135e0025 : CMPNE R14,#&25 ; ="%" 213f4cf0 : 135e0026 : CMPNE R14,#&26 ; ="&" 213f4cf4 : 135e003c : CMPNE R14,#&3C ; ="<" 213f4cf8 : 135e005e : CMPNE R14,#&5E ; ="^" 213f4cfc : 03a00021 : MOVEQ R0,#&21 ; ="!" 213f4d00 : 0a00000f : BEQ &213F4D44 213f4d04 : e4d2e001 : LDRB R14,[R2],#1 -------------------------------------------------------------------------------- Time: Wed Oct 7 10:29:45 2015 Location: Unknown Current Wimp task: FTPc Last app to start: <FTPc$dir>.!runimage R0 = 00000000 R1 = 80000113 R2 = 60000000 R3 = fa207b00 R4 = fa207b00 R5 = fa207f00 R6 = fa207f74 R7 = fa207f7c R8 = 000084ac R9 = 00053924 R10 = 00000013 R11 = 00000025 R12 = 80000113 R13 = fa207ac0 R14 = 80000113 R15 = fc01f5dc DFAR = 00000000 Mode SVC32 Flags Nzcv if PSR = 80000113 fc01f594 : e3a0c000 : MOV R12,#0 fc01f598 : e35a002d : CMP R10,#&2D ; ="-" fc01f59c : 03e0c000 : MVNEQ R12,#0 fc01f5a0 : 135a002b : CMPNE R10,#&2B ; ="+" fc01f5a4 : 02811001 : ADDEQ R1,R1,#1 fc01f5a8 : e3a00000 : MOV R0,#0 fc01f5ac : ef020021 : SWI XOS_ReadUnsigned fc01f5b0 : e35c0000 : CMP R12,#0 fc01f5b4 : 42622000 : RSBMI R2,R2,#0 fc01f5b8 : e49df004 : LDR PC,[R13],#4 fc01f5bc : e10f1000 : MRS R1,CPSR fc01f5c0 : e3811003 : ORR R1,R1,#3 fc01f5c4 : e3c110c0 : BIC R1,R1,#&C0 ; ="¿" fc01f5c8 : e121f001 : MSR CPSR_c,R1 fc01f5cc : e202220e : AND R2,R2,#&E0000000 fc01f5d0 : e52d0004 : STR R0,[R13,#-4]! fc01f5d4 * e4d01001 * LDRB R1,[R0],#1 fc01f5d8 : e351000d : CMP R1,#&0D ; =13 fc01f5dc : 1351000a : CMPNE R1,#&0A ; =10 fc01f5e0 : 13510000 : CMPNE R1,#0 fc01f5e4 : 049d0004 : LDREQ R0,[R13],#4 fc01f5e8 : 0a000007 : BEQ &FC01F60C fc01f5ec : e331003c : TEQ R1,#&3C ; ="<" fc01f5f0 : 1afffff7 : BNE &FC01F5D4 fc01f5f4 : e49d0004 : LDR R0,[R13],#4 fc01f5f8 : e59fc044 : LDR R12,&FC01F644 fc01f5fc : e5dc1300 : LDRB R1,[R12,#768] fc01f600 : e201107f : AND R1,R1,#&7F ; =127 fc01f604 : e5cc1300 : STRB R1,[R12,#768] fc01f608 : e1822981 : ORR R2,R2,R1,LSL #19 fc01f60c : e2222202 : EOR R2,R2,#&20000000 fc01f610 : e4d01001 : LDRB R1,[R0],#1 -------------------------------------------------------------------------------- Time: Wed Oct 7 10:29:45 2015 Location: Unknown Current Wimp task: FTPc Last app to start: <FTPc$dir>.!runimage R0 = 00000000 R1 = 00000000 R2 = 40000000 R3 = fa207b00 R4 = fa207b00 R5 = fa207f00 R6 = fa207f74 R7 = fa207f7c R8 = 000084ac R9 = 00053924 R10 = 00000013 R11 = 00000025 R12 = 80000113 R13 = fa207ac4 R14 = 80000113 R15 = fc01f618 DFAR = 00000000 Mode SVC32 Flags nZCv if PSR = 60000113 fc01f5d0 : e52d0004 : STR R0,[R13,#-4]! fc01f5d4 : e4d01001 : LDRB R1,[R0],#1 fc01f5d8 : e351000d : CMP R1,#&0D ; =13 fc01f5dc : 1351000a : CMPNE R1,#&0A ; =10 fc01f5e0 : 13510000 : CMPNE R1,#0 fc01f5e4 : 049d0004 : LDREQ R0,[R13],#4 fc01f5e8 : 0a000007 : BEQ &FC01F60C fc01f5ec : e331003c : TEQ R1,#&3C ; ="<" fc01f5f0 : 1afffff7 : BNE &FC01F5D4 fc01f5f4 : e49d0004 : LDR R0,[R13],#4 fc01f5f8 : e59fc044 : LDR R12,&FC01F644 fc01f5fc : e5dc1300 : LDRB R1,[R12,#768] fc01f600 : e201107f : AND R1,R1,#&7F ; =127 fc01f604 : e5cc1300 : STRB R1,[R12,#768] fc01f608 : e1822981 : ORR R2,R2,R1,LSL #19 fc01f60c : e2222202 : EOR R2,R2,#&20000000 fc01f610 * e4d01001 * LDRB R1,[R0],#1 fc01f614 : e3510020 : CMP R1,#&20 ; =" " fc01f618 : 0afffffc : BEQ &FC01F610 fc01f61c : e3120102 : TST R2,#&80000000 fc01f620 : 03510022 : CMPEQ R1,#&22 ; =""" fc01f624 : 12400001 : SUBNE R0,R0,#1 fc01f628 : 03822201 : ORREQ R2,R2,#&10000000 fc01f62c : e351000d : CMP R1,#&0D ; =13 fc01f630 : 1351000a : CMPNE R1,#&0A ; =10 fc01f634 : 13510000 : CMPNE R1,#0 fc01f638 : 038ee101 : ORREQ R14,R14,#&40000000 fc01f63c : 13cee101 : BICNE R14,R14,#&40000000 fc01f640 : eabf4f4e : B &FAFF3380 fc01f644 : fa645800 : BLX &FD93564C ; ARMv5 or later fc01f648 : e10fa000 : MRS R10,CPSR fc01f64c : e38aa003 : ORR R10,R10,#3 -------------------------------------------------------------------------------- Time: Wed Oct 7 10:29:45 2015 Location: Unknown Current Wimp task: FTPc Last app to start: <FTPc$dir>.!runimage R0 = 00000000 R1 = 00000000 R2 = 40000000 R3 = fa207b00 R4 = fa207b00 R5 = fa207f00 R6 = fa207f74 R7 = fa207f7c R8 = 000084ac R9 = 00053924 R10 = 00000000 R11 = 00000026 R12 = 80000113 R13 = fa207ac4 R14 = 80000113 R15 = fc01f670 DFAR = 00000000 Mode SVC32 Flags nZcv if PSR = 40000113 fc01f628 : 03822201 : ORREQ R2,R2,#&10000000 fc01f62c : e351000d : CMP R1,#&0D ; =13 fc01f630 : 1351000a : CMPNE R1,#&0A ; =10 fc01f634 : 13510000 : CMPNE R1,#0 fc01f638 : 038ee101 : ORREQ R14,R14,#&40000000 fc01f63c : 13cee101 : BICNE R14,R14,#&40000000 fc01f640 : eabf4f4e : B &FAFF3380 fc01f644 : fa645800 : BLX &FD93564C ; ARMv5 or later fc01f648 : e10fa000 : MRS R10,CPSR fc01f64c : e38aa003 : ORR R10,R10,#3 fc01f650 : e3caa0c0 : BIC R10,R10,#&C0 ; ="¿" fc01f654 : e121f00a : MSR CPSR_c,R10 fc01f658 : e3cee202 : BIC R14,R14,#&20000000 fc01f65c : e3a0a000 : MOV R10,#0 fc01f660 : e3120302 : TST R2,#&08000000 fc01f664 : 1a0000a0 : BNE &FC01F8EC fc01f668 * e4d01001 * LDRB R1,[R0],#1 fc01f66c : e351000d : CMP R1,#&0D ; =13 fc01f670 : 1351000a : CMPNE R1,#&0A ; =10 fc01f674 : 13510000 : CMPNE R1,#0 fc01f678 : 0a000066 : BEQ &FC01F818 fc01f67c : e3510020 : CMP R1,#&20 ; =" " fc01f680 : 0a000075 : BEQ &FC01F85C fc01f684 : ba0000a5 : BLT &FC01F920 fc01f688 : e3510022 : CMP R1,#&22 ; =""" fc01f68c : 0a000076 : BEQ &FC01F86C fc01f690 : e351007c : CMP R1,#&7C ; ="|" fc01f694 : 03120101 : TSTEQ R2,#&40000000 fc01f698 : 0a00007e : BEQ &FC01F898 fc01f69c : e351003c : CMP R1,#&3C ; ="<" fc01f6a0 : 1a00006f : BNE &FC01F864 fc01f6a4 : e92d4005 : STMDB R13!,{R0,R2,R14} -------------------------------------------------------------------------------- |
Colin (478) 2433 posts |
Thats a lot of pain – means nothing to me. Do you have the same problem with 1.48? Could have emailed me to save long posting on the forum. |
Chris Hall (132) 3554 posts |
I think he’s referring to zero pain. |
Colin (478) 2433 posts |
still meaningless |
Chris Hall (132) 3554 posts |
Ah! Sorry to be obscure. See this news item or read about it in Archive magazine 23:12. |
Chris Evans (457) 1614 posts |
Thanks Colin |
David Pitt (102) 743 posts |
One extraneous item found its way into the list, now removed. I reported it here because, as I tried to say previously, it is not clear at this point that it is an FTPc issue at all. One item is clearly a bug in DDEUtils.
Yes. |
Colin (478) 2433 posts |
Ah I see now. ‘Unknown’ looks like its in ‘utility module’. So I just need to track down the function these code fragments are from. |
Colin (478) 2433 posts |
The first 2 unknowns are in GSINIT and the 3rd unknown is in GSREAD. I can’t see that I’ve used either (or GSTRANS for that matter) so something must be calling it for me – possibly a ddeutils call but I’m not using one of them either. |
David Pitt (102) 743 posts |
Good point what does DDEUtils have to with any of this! On a freshly booted Pi running DDEUtils appears when Possibly demonstrating a total ignorance of the whole job I tried a *where fc01f5dc Address &FC01F5DC is at offset &0001F5DC in the Kernel *where fc01f618 Address &FC01F618 is at offset &0001F618 in the Kernel *where fc01f670 Address &FC01F670 is at offset &0001F670 in the Kernel * |
Chris Evans (457) 1614 posts |
Whilst I understand that you may not be able to date stamp a directory on an FTP server and that the date on an FTP server will change if any files within it are changed. I do think it would be useful if when copying from an FTP server that the date/time of the directory on your RISC OS filing system was stamped as on the FTP server. |
Colin (478) 2433 posts |
The trouble is when the directory is created and is datestamped when files are put into it the server changes the date stamp. Adding a file will change the stamp of all directories in the path. |
Colin (478) 2433 posts |
David. I think DDEUtils is just getting between the problem in FTPc and OS_GSTrans. The error is at add_prefix6 in the ddeutils file and is probably just trying to add a prefix to the same NULL pointer that OS_GSTrans is having problems with. Without ddeutils the problem in FTPc is more directly connected to OS_GSTrans. |
Colin (478) 2433 posts |
OK I’ve fixed the NULL dereference and have put FTPc 1.50 on the FTPc website. On a different subject I had to download the latest PI rom to use zeropain and found I got a lot of missed mouse presses using it which I don’t get with my own rom which has my usb changes. |
David Pitt (102) 743 posts |
Excellent, pain free.
That doesn’t sound very fair after all the good work fixing FTP. I thought your USB additions had been added to the sources, perhaps not so then. Recent Pi ROMs have been good here, no missed clicks or repeating key presses. |
Chris Evans (457) 1614 posts |
I think I understand that. It is when copying FROM an FTP server to say an SDFS disc that I was thinking it would be nice to date stamp the RISC OS Directory. Sorry if I’m not explaining this well. |
Jon Abbott (1421) 2641 posts |
Will this update also appear via PackMan? |
Colin (478) 2433 posts |
Don’t know, don’t use it. |
Jon Abbott (1421) 2641 posts |
It’s available via PackMan, which implies someone is maintaining and hosting it. |
Alan Buckley (167) 232 posts |
I’ve uploaded it now, it should appear in PackMan tomorrow after the indices are rebuilt. I was waiting until the problem reported here had been sorted. |
Colin (478) 2433 posts |
Chris. Try FTPc 1.51. It will preserve the filestamps of downloaded directories if your server supports the MLST command. |
Chris Evans (457) 1614 posts |
FTPc 1.51 retains directory date/time stamps when downloading from Spellings or F2S FTP servers. Brilliant! Downloaded directories from an Orpheus server are not retaining their date/time stamp. |
Colin (478) 2433 posts |
What you are seeing in the window is the output from the LIST command (an arbitary plain text output) which may or may not be correct in your timezone or even available/displayed in a standard form. That it why it was never added in the first place the ftp protocol was never designed to preserve filestamps. The timestamping I’ve added in FTPc uses commands added later to ftp (some are still draft status) specifically to read/write this sort of information so you know they are correct but as you have found out these commands are not always supported. There are commands now to get computer readable directory lists with accurate UTC timestamps and other metadata – it would be possible to store riscos’s load and exec metadata but such an ftp client probably wouldn’t work on many servers. This is one of the reasons I was reluctant to add timestamping for you in the first place. I knew it wouldn’t always work and I’m not happy that it sometimes does things and sometimes doesn’t |
Pages: 1 2