RE: FTP-delete [Re: (no subject)]
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