Posted: 2008-04-25 06:24
I get an Error Code 4 when trying to rename a file using a script. I understand that the error refers to renaming to the name of an already existing file. I'm doing this on purpose.
My question is, why is it when using the GUI panel I can rename it, when clicking on HOM to open a terminal, I can rename (mv) it. But when opening the session via a script, I cannot rename it??? Is there some setting I need to do to allow me to rename the file to an existing one?
Location: Prague, Czechia
You cannot compare mv command in shell and mv command in SFTP. MV command in SFTP does not allow renaming to existing name by specification.
You can post new topics in this forum
And it's free!