reesmaxwell
Newbie

Posts: 27
|
Hi,
I notice that when selecting a folder (or file I guess) and right-clicking and choosing Duplicate, that the operation downloads everything to my computer and then creates a new folder and then uploads it all back up to the server.
There must be some good reason for that, because in my ideal fantasy world a command would be issued to the server which would tell it to do it all on the server.
Is this not possible ever (with any FTP program), or is this just an issue with the current version of YummyFTP and that is on the list to be resolved?
Thanks! Rees
|
|
|
|
|
Logged
|
|
|
|
|
JD
|
The FTP protocol does not have a 'duplicate' command, so this is the only way to make it work.
|
|
|
|
|
Logged
|
|
|
|
reesmaxwell
Newbie

Posts: 27
|
That's such a bummer.
Thanks for cluing in this noob.
-Rees
|
|
|
|
|
Logged
|
|
|
|
|
columbusgeek
|
I am a fellow n00b as well.
I know I can do this via ssh, and I thought this was possible via sftp. Am I wrong? What about "copy" instead of "duplicate"? Would this be sort of like FXP but on the same server?
BTW great software. I've been using it for years with no issues aside from tiny hiccups with betas, but thats to be expected. Good solid FTP program.
|
|
|
|
|
Logged
|
|
|
|
|
JD
|
Thanks columbus  It's possible in the same way that you can do it in the Terminal, but via SSH only. It's not part of the SFTP functionality. As such, you could try the Send Raw Command option which would send a custom command line via SSH. Yummy sets the working directory to that currently displayed, so you could enter for example: cp filetodupe.example filenameduped.example Note that you must use this feature at your own risk - for example, executing some commands by mistake can destroy all your data. I provide this feature for the brave and adventurous 
|
|
|
|
|
Logged
|
|
|
|
|
columbusgeek
|
Outstanding. I seem to be very close now. Of course this brings up my other issue I have been avoiding. (I wil start another thread if needed, but this seems to be related) When I issue any raw commends like zip or unpack or cp I get a error of: Connection : 13 Warning: Identity file /Users/matt/Desktop/matt.pub not accessible: No such file or directory.
This is a server issue, or a me issue? (I searched for anybody with a similar issue here but I seem to be alone.)
|
|
|
|
« Last Edit: July 25, 2008, 07:09:37 PM by columbusgeek »
|
Logged
|
|
|
|
|
JD
|
Do you use SSH key file authentication when you connect via SFTP? It looks like the SSH sub system can't locate the keyfile you've specified, but then I would have expected the SFTP connection to have failed too.... Try enabling 'Quote ssh keyfile paths' in the Server Options panel of the Preferences.
|
|
|
|
|
Logged
|
|
|
|
|
columbusgeek
|
Your solution was off, but it pointed my nose in the right direction.
A while back I tried to setup ssh to use keys instead of passwords. I still had Yummy looking for a ssh key in the connect to server settings. Once I disabled that everything is grand. cp works as well as unarchive, etc.
I think I might have pee'd myself a little I am so happy.
Thanks so much JD
|
|
|
|
|
Logged
|
|
|
|
|
JD
|
You're welcome! Great to hear it all worked out 
|
|
|
|
|
Logged
|
|
|
|
obfuscode
Newbie

Posts: 34
|
It's possible in the same way that you can do it in the Terminal, but via SSH only. It's not part of the SFTP functionality. As such, you could try the Send Raw Command option which would send a custom command line via SSH. If this is the case, can't you hard-code the xcopy SSH command in coupled with the existing re-name trigger?
|
|
|
|
|
Logged
|
|
|
|
|
JD
|
Check out 1.7.3b10 which has this capability (plus remote delete as a bonus!) built-in 
|
|
|
|
|
Logged
|
|
|
|
obfuscode
Newbie

Posts: 34
|
Today (using b10) I Option-dragged a folder into another folder and it did a download/upload, does the server-side commands only work on Duplicate and Move ?
|
|
|
|
|
Logged
|
|
|
|
|
JD
|
You need to use the Duplicate command that is located in the Remote Shell Commands sub menu off the Transfer menu.
At the moment I would still call this an 'experimental' feature, therefore I didn't make use of it by default for all duplicate actions. It definitely works, but I'm nervous to radically change the behavior across the board at this point.
|
|
|
|
|
Logged
|
|
|
|
obfuscode
Newbie

Posts: 34
|
I would have just said no Thanks for saying yes 
|
|
|
|
|
Logged
|
|
|
|
|
columbusgeek
|
Holy crap this makes me happy.
LOVE the duplicate added to the raw comm menu.
|
|
|
|
|
Logged
|
|
|
|
|