Author Topic: Why can't "Duplicate" be performed entirely on server?  (Read 11374 times)

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Why can't "Duplicate" be performed entirely on server?
« Reply #15 on: March 24, 2009, 04:42:17 PM »
;D

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Why can't "Duplicate" be performed entirely on server?
« Reply #16 on: March 25, 2009, 04:42:45 AM »
I know it's experimental but...

1. Couldn't it be available under the context pop-up menu, under Remote Shell Commands?
2. Or better, could we have a keyboard shortcut please?  Maybe cmd-D with another modifier key.
3. Could we have it working like ordinary Duplicate so that it copies "abc.txt" to "abc copy.txt" (and not to "abc.txt copy"!) ?

Ta  :)

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Why can't "Duplicate" be performed entirely on server?
« Reply #17 on: March 25, 2009, 05:58:19 AM »
Well obviously this is proving to be quite popular, so I'll flesh it out some and bring it out of the 'experimental' realm asap :)

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Why can't "Duplicate" be performed entirely on server?
« Reply #18 on: April 10, 2009, 02:05:52 AM »
I know it's experimental but...

1. Couldn't it be available under the context pop-up menu, under Remote Shell Commands?
2. Or better, could we have a keyboard shortcut please?  Maybe cmd-D with another modifier key.
3. Could we have it working like ordinary Duplicate so that it copies "abc.txt" to "abc copy.txt" (and not to "abc.txt copy"!) ?

Ta  :)
I've made improvements in this area for b12:

1. ctrl-alt-cmd - Backspace will now do a remote delete (cmd-Backspace makes a standard delete)
2. ctrl-alt-cmd - D will now do a remote duplicate (cmd-D makes a standard duplicate)
3. the Delete and Duplicate items are now in  the context menu
4. the duplicate name should be the same as when using normal duplication

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Why can't "Duplicate" be performed entirely on server?
« Reply #19 on: April 10, 2009, 06:51:37 PM »
This is superb!!   :D

Typical timings (I have upload capped at 128kbs):
  • Duplicate a folder containing 10 images, total size 450 KB: standard 50 secs, remote 1 sec.
  • Delete that same folder: standard 5 secs, remote 1 sec.

The differences will be larger for larger content obviously. This will really speed up my workflow.
Cheers,
J

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Why can't "Duplicate" be performed entirely on server?
« Reply #20 on: April 21, 2009, 05:11:18 AM »
Well, superb with perhaps one omission. The server duplicate does not preserve modification dates.  Isn't there a "-p" parameter you can add to the ssh command to preserve dates (and maybe user/group as well)?


JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Why can't "Duplicate" be performed entirely on server?
« Reply #21 on: April 21, 2009, 07:24:36 AM »
Ha! Good catch! Well, the intention was for attributes to be preserved... now it's corrected :)

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Why can't "Duplicate" be performed entirely on server?
« Reply #22 on: June 04, 2009, 03:35:15 AM »
Verified in the latest beta. Thanks.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Why can't "Duplicate" be performed entirely on server?
« Reply #23 on: June 04, 2009, 06:29:47 AM »
Thanks for the confirmation! :)