Author Topic: Apple-C Apple-V to duplicate a remote file  (Read 8951 times)

guttyguppy

  • Jr. Member
  • **
  • Posts: 14
Apple-C Apple-V to duplicate a remote file
« on: October 24, 2006, 09:04:33 PM »
I'd love to be able to highlight a file, hit apple-c, hit apple-v, and get a copy of the file. It would make yummyftp all the more finder-like.

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Apple-C Apple-V to duplicate a remote file
« Reply #1 on: October 24, 2006, 09:26:33 PM »
Just hit Apple-D (for duplicate) which is also finder-like, and shorter.


JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Apple-C Apple-V to duplicate a remote file
« Reply #2 on: October 25, 2006, 02:40:46 AM »
Yes, but if you want to copy a file and place it somewhere else, ie into another folder, then Copy & Paste is quite logical for this. It's not a simple implementation, however, since I'd ideally have to support Undo as well. Is there significant demand for such a feature?

guttyguppy

  • Jr. Member
  • **
  • Posts: 14
Re: Apple-C Apple-V to duplicate a remote file
« Reply #3 on: October 25, 2006, 10:55:11 PM »
Doh! I forgot about that one, thanks. I really dont think apple-c and apple-v to move to other directories is necessary...

paulc

  • Sr. Member
  • ****
  • Posts: 189
Re: Apple-C Apple-V to duplicate a remote file
« Reply #4 on: October 29, 2006, 11:22:24 AM »
Doesn't the Evil OS do this... a copy operation on a file can then be "copied" to another directory with a "paste" operation?

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Apple-C Apple-V to duplicate a remote file
« Reply #5 on: October 29, 2006, 02:54:26 PM »
Yes, that's where it originated. Apple have copied it.

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Apple-C Apple-V to duplicate a remote file
« Reply #6 on: November 17, 2006, 05:55:38 PM »
I would like to be able to copy files from one server window to another. Within a server window you can option-drag to create a copy of the file -- and drag into a folder for example. But across windows this doesn't work: the "+" on the cursor disappears once outside the source window, and Yummy appear to try a "rename" which fails.  Not sure why it fails as permissions are fine and actually both windows are from the same server (just different areas). But rename is not what is required anyway as we are copying not moving.

Why not allow the option-drag between windows and implement the action by reading the files and then writing them? My only method at present is actually downloading the files to the desktop and then uploading them to the new location. Unless I missing something! The suggested Copy and Paste would help.

Cheers.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Apple-C Apple-V to duplicate a remote file
« Reply #7 on: November 17, 2006, 07:15:29 PM »
Drag and drop between different server windows will transfer the files between them. But if the two server windows are from the same server, Yummy tries to move them. The move command is the same as the rename command - the difference is that a destination path and new name is given in the command sent, so if you get an error, it might say 'failed to rename'. I've no idea why the server disallowed your move attempt - does it happen for all destinations? Works fine here, of course :)

I should allow option+drag to copy between the same server windows, just as I do within the server list... that's the omission.

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Apple-C Apple-V to duplicate a remote file
« Reply #8 on: November 17, 2006, 10:09:38 PM »
Yes, drag and drop works between different servers. For two windows from the same server I want to copy (using opt-drag), not move. Hence the move command isn't appropriate. I've just tried again with different folders and the opt-drag "worked" in that there was no error -- however, the file was moved, which was not what was wanted. I've had this happen a few times in the past without my realizing what was going on, and with consequential scripting problems caused by the source file disappearing!

If you could implement the opt-drag that would be great! Thanks.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Apple-C Apple-V to duplicate a remote file
« Reply #9 on: November 19, 2006, 11:10:32 AM »
Done  ;D

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Apple-C Apple-V to duplicate a remote file
« Reply #10 on: November 19, 2006, 03:51:31 PM »
Woo! New beta soon?

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Apple-C Apple-V to duplicate a remote file
« Reply #11 on: November 19, 2006, 06:13:30 PM »
*Ding!*

correct

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Apple-C Apple-V to duplicate a remote file
« Reply #12 on: November 28, 2006, 05:29:08 AM »
Great to see it working in the latest beta -- saves me a lot of time. But (and I hate to be grumpy) is it possible to copy the permissions and group as well? Because after copying a file I need to go to Get Info (twice) to set group and permissions. Under SFTP couldn't Yummy set these (if permitted of course) immediately after the copy process?  Ta.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Apple-C Apple-V to duplicate a remote file
« Reply #13 on: November 28, 2006, 06:49:33 AM »
Yes, that would make sense. There might be some problems, though. Let me see what I can do ...