Re: Re: Creating $BDIR before :conf ? [PATCH]
Adriaan de Groot <[email protected]> Fri, 25 Nov 2005 22:19:45 +0100
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
--nextPart2864653.yoUIkhpQal
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
On Friday 25 November 2005 17:40, Bram Moolenaar wrote:
> Adriaan de Groot wrote:
> > Attached patch tries to create the path for the written file and solves
> > my problem. I'm not sure what should be done with remote files for
> > writing the header.
>
> Another method is to pass the "mkdir" attribute to remote_copy_move().
> Can you try out the patch below?
Ha, I should have read the docs and found out about that one. Adding mkdir=
=20
does the trick as well.
> Perhaps the "force" attribute should also be set, so that the file is
> overwritten when it already exists? I would think a user expects this
> file to be overwritten without a warning.
Yes, I would. Well, maybe I would expect it to be written if it doesn't exi=
st,=20
and _over_written only if I called 'aap configure', but that's a whole=20
different ballgame.
=2D-=20
These are your friends - Adem
GPG: FEA2 A3FE Adriaan de Groot
--nextPart2864653.yoUIkhpQal
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
iD8DBQBDh3/2dqzuAf6io/4RAnlHAJ41DLmuLsGu8zt6ZyaIvvsaS6xqRACgiwsW
QrN05BIPHhhpJaE6oMuF3fQ=
=PaJV
-----END PGP SIGNATURE-----
--nextPart2864653.yoUIkhpQal--
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click