FTP-delete [Re: (no subject)]
FTP-delete [Re: (no subject)]
- Subject: FTP-delete [Re: (no subject)]
- From: jj <email@hidden>
- Date: Thu, 03 Mar 2005 09:15:22 +0100
> 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
References: | |
| >(no subject) (From: Malcolm Fitzgerald <email@hidden>) |