Comment 5 for bug 45382

Revision history for this message
Chris Wagner (chris-wagner) wrote : Re: [Bug 45382] Re: Nautilus, SSH: "Generic Error" while moving/copying file

On Thu, 2006-12-14 at 10:14 +0000, Sebastien Bacher wrote:
> Does gnomevfs-mv works fine for that?

Okay, I just tried several things. These all work okay:
 - gnomevfs-copy /
     ssh://cwagner@server/path/to/dir/briefcase.tmpl /
     ssh://cwagner@server/path/to/dir/survey.tmpl
 - gnomevfs-copy /
     ssh://cwagner@server/path/to/dir/survey.tmpl /
     ssh://cwagner@server/path/to/dir/survey.tmpl.bak
 - via Nautilus, moving *or* copying the file to *another directory*.
For example, if I am sitting in ssh://cwagner@server/path/to/dir/ and
select file.tmpl and hit Ctrl+C, then move up a directory to
ssh://cwagner@server/path/to/ and paste by hitting Ctrl+V, all works
okay. I can even *re-paste* over the file and I get a reasonable dialog
warning me: "A file named "groups.tmpl" already exists. Do you want to
replace it?"

So, in my case, the problem seems to only occur when trying to copy a
file and paste a copy back into the same directory in which the original
exists. What do I expect to happen? I expect to get a copy of the file
with a new name (e.g., "my-file.txt (Copy)") as happens when copying a
file, using the same technique, within a local directory.