FTP-delete - variation ?
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