Page 1 of 1

Can't Delete Remote File Using Applescript

Posted: Mon Apr 14, 2008 10:39 am
by dzr
Hi All,

This last worked in version 2.7.3 of Cyberduck.

In newer versions, Applescript returns the error:

"Cyberduck got an error: Can't get file "filename" of Browser 1."
(where filename is the actual name of the file to be deleted).

The code I'm using is:

if exists file filename then
delete file filename
end if

So Cyberduck is recognizing that the file exists on the remote server. It just can't delete it using Applescript.

I've tried specifying the full path to the remote file, but this doesn't work either. Any suggestions?

Thanks in advance for your help.