• 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
RE: FTP-delete [Re: (no subject)]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: FTP-delete [Re: (no subject)]


  • Subject: RE: FTP-delete [Re: (no subject)]
  • From: "Jan-Bultereys" <email@hidden>
  • Date: Thu, 3 Mar 2005 12:08:43 +0100
  • Thread-topic: FTP-delete [Re: (no subject)]

Does anyone know how to 'MOVE' a file to an other directory instead of
deleting it via 'curl.....ftp'

something like curl -Q 'MOVE /path/to/file.zip /otherpath/to/file.zip ftp://user:email@hidden



> ----------
> From: 	applescript-users-bounces+jan.bultereys=email@hidden on behalf of jj
> Sent: 	Thursday, March 3, 2005 9:15 AM
> To: 	applescriptmaillist
> Subject: 	FTP-delete [Re: (no subject)]
>
> > 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
>
> --
> http://www.macscripter.net/
> http://www.osaxen.com/
>
>
>  _______________________________________________
> 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
>
>
 _______________________________________________
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 [Re: (no subject)]
      • From: jj <email@hidden>
  • Prev by Date: Re: Calling a Sub from inside a tell
  • Next by Date: Re: FTP-delete [Re: (no subject)]
  • Previous by thread: Re: Calling a Sub from inside a tell
  • Next by thread: Re: FTP-delete [Re: (no subject)]
  • Index(es):
    • Date
    • Thread