• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
FTP-delete - variation ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FTP-delete - variation ?


  • Subject: FTP-delete - variation ?
  • From: Christian Vinaa <email@hidden>
  • Date: Thu, 3 Mar 2005 23:59:43 +0100

At 09:15 +0100 03/03/2005, jj wrote:
> I'm trying to automate the removal of a file from the web server.
 Presently I'm using Interarchy and it works very well but I wonder how
 to do it via the shell.  I can easily run sftp or ssh from the terminal
 but it's all going to be wrapped into an applescript so there won't be
 any user interaction. The web server insists on interactive log-in for
 sftp so that won't work. Is there a simple way to do this?

do shell script "curl -Q 'DELE /path/to/file.zip' ftp://user:email@hidden";


jj


ok  so here is another use for  CURL   and shell script !  :-)

does this mean that I can in fact, presuming that I only want to do simple FTP like putting up folders to my websites, use script and CURL for that ?
--
Christian Vinaa


...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: FTP-delete - variation ?
      • From: jj <email@hidden>
    • Re: FTP-delete - variation ?
      • From: Malcolm Fitzgerald <email@hidden>
References: 
 >FTP-delete [Re: (no subject)] (From: jj <email@hidden>)

  • Prev by Date: Re: Scripting Quark XPress palettes
  • Next by Date: Re: going from eudora to Mail
  • Previous by thread: FTP-delete [Re: (no subject)]
  • Next by thread: Re: FTP-delete - variation ?
  • Index(es):
    • Date
    • Thread