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: Tue, 8 Mar 2005 13:46:44 +0100
- Thread-topic: FTP-delete [Re: (no subject)]
hi jj and list
I have tried it but no succes.
This is what I did
curl -vQ 'RNFR /PATH/TEST2 RNTO /OTHERPATH/TEST2' ftp://USER:PASS@ADDRESS
I am getting connected but I get this messages:
* QUOT string not accepted: RNFR /PATH/TEST2 RNTO /OTHERPATH/TEST2
any ideas,
best regards,jan
> ----------
> From: jj
> Sent: Monday, March 7, 2005 14:16 PM
> To: Jan-Bultereys; applescriptmaillist
> Subject: Re: FTP-delete [Re: (no subject)]
>
> > thanks jj,
> >
> > I have googled but no result.
> > RNFR-RNTO will just rename the file, right?
> >
> > Basically what I want to do is....make a connection with a remote server
> > download the file and then "move" the file to an other "directory", because
> > otherwise
> > the file will be downloaded over and over........
>
> Have you tried "RNFR /from/dir/file RNTO /to/another/dir/file"?
>
>
> jj
>
> > any input is very much appreciated,
> > jan
> >
> >> ----------
> >> From:
> >> applescript-users-bounces+jan.bultereys=email@hidden on
> >> behalf of jj
> >> Sent: Thursday, March 3, 2005 12:27 PM
> >> To: applescriptmaillist
> >> Subject: Re: 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
> >>
> >> I'm not an expert, but perhaps it could be done using RNFR (rename-from) and
> >> RNTO (rename-to). Just google for "ftp commands" and make some cautious
> >> tests in your server... ;-)
> >>
> >>
> >> jj
> >>
> >> * And post your results!
> >> --
> >> 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:
> >> cedepot.com
> >>
> >> This email sent to email@hidden
> >>
> >>
>
> --
> 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