[Cyberduck-trac] [Cyberduck] #1939: Cannot Use Applescript To	Delete Remote File
    Cyberduck 
    trac at trac.cyberduck.ch
       
    Sat Apr 19 19:04:54 CEST 2008
    
    
  
#1939: Cannot Use Applescript To Delete Remote File
----------------------------------------------+-----------------------------
 Reporter:  anonymous                         |        Owner:  dkocher 
     Type:  defect                            |       Status:  assigned
 Priority:  normal                            |    Milestone:  3.0     
Component:  applescript                       |      Version:  3.0b1   
 Severity:  normal                            |   Resolution:          
 Keywords:  Applescript, Delete, Remote File  |  
----------------------------------------------+-----------------------------
Changes (by dkocher):
  * status:  new => assigned
Old description:
> 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.
New description:
 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.
-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/1939#comment:1>
Cyberduck <http://cyberduck.ch>
FTP and SFTP Browser for Mac OS X.
    
    
More information about the Cyberduck-trac
mailing list