I recently changed from ftp to sftp. Now I cannot ftp from my text editor anymore.
Especially deleting the the content of the log file, save and ftp doesn't work anymore.
So now I thought: I make a button to copy an empty log file to the sftp site:
It works fine for me, but I have to explicitly set the initial directory for the FTP bookmark (else the command will try to copy to the root directory, I think).
The initial directory usually needs to start with a /, e.g. /home/yourusername
Even without that set, though, I still see activity in the FTP log when I run the button, even if it leads to failure due to trying to copy to the root.
Now sometimes it works, and sometimes not.
I cannot find the right circumstances yet.
Sometimes it copies to the source pane, sometimes to destination.
Sometimes I try it, being logged in into the ftp site, sometimes in source, sometimes in destination.
The ftp logging now after pressing the button, shows "List complete 205 files". No messages about trying to copy and it didn't succeed.
I tried a little more today: when I replace the sftp by a local server address (//Myserver/test) it works allways. Independend of source and destination tabs open or not.
When I go back to @Log_ftp_address_book_account, sometimes the button does do nothing, sometimes I get a error: "the parameter is incorrect (87)".
The ftp log is empty.
Hard to say without being able to reproduce it or test ideas out. It could have something to do with Opus trying to re-use an existing connection (e.g. one open in a background window) which has timed-out at the server but which the client-side hasn't noticed yet. When that happens it should work on a second attempt, though.