Hi,
Sorry to bother you again with openFileFromFTP, but I've found a bug again.
In version 2301 I cannot use openFileFromFTP command with full path filename
(e.g. "/tmp/foo"):
Set tmpeditor = newEditor()
tmpeditor.openFileFromFTP("/tmp/foo")
It works only with filename without path (e.g. "foo"), so the only way is to use
it as follows:
Set tmpeditor = newEditor()
ftpCommand("CWD /tmp")
tmpeditor.openFileFromFTP("foo")
But in that case you get wrong path for backup file - in my case:
<backup dir>\koh\opt\OV\bin\foo
instead of:
<backup dir>\koh\tmp\foo
Can you please check it?
Thank you and best regards,
Rok
--
<http://forum.pspad.com/read.php?6,44595,44609>
PSPad freeware editor http://www.pspad.com