Ticket #4499 (closed defect: fixed)

Opened 6 months ago

Last modified 6 months ago

reget: wrong timestamp when resuming copy operation

Reported by: cri Owned by: andrew_b
Priority: major Milestone: 4.8.31
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

Steps to reproduce:

  1. Initiate a file copy operation from a remote FTP server
  2. Interrupt the operation (e.g. kill the mc terminal)
  3. Repeat step 1. and choose "Reget" to resume the copy operation

Expected result: the timestamp of the file copied on the local system should be the same of the file on the FTP server (as it always happens when the copy operation is not interrupted/resumed)

Actual result: the timestamp of the file copied on the local filesystem represents the "current" time (i.e. when the copy operation ended)

Notes:

  • The bug doesn't happen when using the Suspend / Continue commands, you have to somehow kill the operation and use the Reget command
  • I only tested this with FTP, maybe it happens also with other VFSs?

Change History

comment:1 in reply to: ↑ description Changed 6 months ago by andrew_b

Replying to cri:

  • I only tested this with FTP, maybe it happens also with other VFSs?

It happens with any VFSes including local.

comment:2 Changed 6 months ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Milestone changed from Future Releases to 4.8.31
  • Summary changed from FTP reget: wrong timestamp when resuming copy operation to reget: wrong timestamp when resuming copy operation

comment:3 Changed 6 months ago by andrew_b

  • Branch state changed from no branch to on review
Last edited 6 months ago by andrew_b (previous) (diff)

comment:4 Changed 6 months ago by andrew_b

  • Votes for changeset set to andrew_b
  • Branch state changed from on review to approved

comment:5 Changed 6 months ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from andrew_b to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:6 Changed 6 months ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.