Re: Delete FTP file
Re: Delete FTP file
- Subject: Re: Delete FTP file
- From: EBI Aktivitet <email@hidden>
- Date: Thu, 12 Jun 2003 15:10:08 +0200
>
On Thursday, Jun 12, 2003, at 07:13 US/Eastern, EBI Aktivitet wrote:
>
>
>> On Wednesday, Jun 11, 2003, at 17:32 US/Eastern, EBI Aktivitet wrote:
>
>>
>
>>> Need to delete a specific file on a remote FTP once a day, and just
>
>>> can't
>
>>> figure out how to go about this.
>
>>>
>
>>> <snip>
>
>
>>> Thanks in advance for any suggestions.
>
>>>
>
>>> Adim Lundin
>
>>> --
>
>>> EBI
>
>>>
>
> Den 03-06-12 02.25, skrev "Deivy Petrescu" <email@hidden>:
>
>
>
>>
>
>> Do a man curl and use curl from "do shell script"
>
>> I constantly use ftp via terminal, but if you want "silence", curl is
>
>> the way to go.
>
>> It is also very fast.
>
>>
>
>
>
> I agree, curl is fantastic, but as far as I know, it won't let me
>
> delete a
>
> file. Just to make sure I checked the man, but couldn't find anything
>
> about
>
> deletion.
>
>
>
> Am I missing something?
>
>
>
> Regards, Adim Lundin
>
> --
>
> EBI
>
>
>
>
>
>
Den 03-06-12 14.19, skrev "Deivy Petrescu" <email@hidden>:
>
Hi Adim,
>
No, I missed something... namely the opportunity to post curl's web
>
page: "http://curl.haxx.se".
>
On the FAQ page you will find the following:
>
>
"3.7. Can I use curl to delete/rename a file through FTP?
>
>
Yes. You specify custom FTP commands with -Q/--quote.
>
>
One example would be to delete a file after you have downloaded it:
>
>
curl -O ftp://download.com/coolfile -Q '-DELE coolfile' "
>
>
Back and forth with the page and man, I forgot where I read it. But
>
since you said it was not on the man...
>
>
>
Regards
>
>
Deivy Petrescu
>
http://www.dicas.com/
Now that's what I call cool! Thanks! I'll try it out at once.
Regards, Adim Lundin
--
EBI
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.