Announcement

Collapse
No announcement yet.

Copy Files to Android 9 - Time Stamps not preserved, Touch doesn't work?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Copy Files to Android 9 - Time Stamps not preserved, Touch doesn't work?

    I'm using BC4 to sync files from a Windows server to Android 9. The FTP server on Android is "Servers Ultimate Pro".

    From BC's log:
    Code:
    4/21/2019 3:42:19 PM  Stat> Connected.
    4/21/2019 3:42:19 PM  Recv> 220 TG Pixel 3
    4/21/2019 3:42:19 PM  Sent> USER tgodfrey
    4/21/2019 3:42:19 PM  Recv> 331 Send password
    4/21/2019 3:42:19 PM  Sent> PASS ********
    4/21/2019 3:42:19 PM  Recv> 230 Access granted
    4/21/2019 3:42:19 PM  Sent> FEAT
    4/21/2019 3:42:19 PM  Recv> 211-Features supported
    4/21/2019 3:42:19 PM  Recv>  UTF8
    4/21/2019 3:42:19 PM        211 End
    4/21/2019 3:42:19 PM  Sent> OPTS UTF8 ON
    4/21/2019 3:42:19 PM  Recv> 200 OPTS accepted
    4/21/2019 3:42:19 PM  Sent> TYPE A
    4/21/2019 3:42:19 PM  Recv> 200 ASCII type set
    4/21/2019 3:42:19 PM  Sent> SYST
    4/21/2019 3:42:19 PM  Recv> 215 UNIX Type: L8
    4/21/2019 3:42:19 PM  Sent> TYPE A
    4/21/2019 3:42:19 PM  Recv> 200 ASCII type set
    4/21/2019 3:42:19 PM  Sent> PWD
    4/21/2019 3:42:19 PM  Recv> 257 "/"
    4/21/2019 3:42:19 PM  Unable to set last modified time of ftp://tgodfrey@192.168.27.193:3777/storage/emulated/0/DCIM/Camera/2014-03-06 20.26.49.png: Container does not support requested file operation
    4/21/2019 3:42:19 PM  Failed to touch 1 items.  Completed in 0.25 seconds.
    Log from FTP server (First clear log, then run BC Touch above. Note - no errors reported)
    Code:
    2019-04-21 03:42:21 [ftpserver] - 192.168.27.106 (O6KFDJ) - PWD complete...
    2019-04-21 03:42:21 [ftpserver] - 192.168.27.106 (O6KFDJ) - PWD "/"...
    2019-04-21 03:42:21 [ftpserver] - 192.168.27.106 (O6KFDJ) - TYPE complete...
    2019-04-21 03:42:21 [ftpserver] - 192.168.27.106 (O6KFDJ) - SYST complete...
    2019-04-21 03:42:21 [ftpserver] - 192.168.27.106 (O6KFDJ) - TYPE complete...
    2019-04-21 03:42:21 [ftpserver] - 192.168.27.106 (O6KFDJ) - OPTS complete...
    2019-04-21 03:42:21 [ftpserver] - 192.168.27.106 (O6KFDJ) - FEAT response send...
    2019-04-21 03:42:21 [ftpserver] - 192.168.27.106 (O6KFDJ) - "tgodfrey" logged in succesfully...
    2019-04-21 03:42:21 [ftpserver] - 192.168.27.106 (O6KFDJ) - New connection...
    What does "Container does not support requested file operation" mean? The server has lots of options, but none are related to timestamps.
    I observe if I try Touch in BC4 again, it immediately fails "4/21/2019 4:02:31 PM Failed to touch 1 items. Completed in 0.02 seconds." and there is no network traffic at all on Wireshark.

  • #2
    Hello,

    In the first log, on connection, BC4 sends the FEAT command, and the server reports back what it supports. This server is only reporting back UTF8, and has no timestamp support (MDTM as a common method). If the server does not support timestamps, then the Touch command won't attempt to send the command. You would need to configure the FTP server to indicate it supports timestamps, or (as a bit of an advanced tip) if the FEAT command is unsupported by the server then it can attempt (and maybe succeed or fail) to set timestamps. In the current server side configuration, the server is reporting that it does not support timestamps, which BC4 will respect.
    Aaron P Scooter Software

    Comment

    Working...
    X