Can't Delete Remote File Using Applescript

The Cyberduck forums have moved to Google Groups, this forum is read only.
Locked
dzr
Harmless
Posts: 4
Joined: Mon Apr 14, 2008 10:13 am

Can't Delete Remote File Using Applescript

Post 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.
Locked