Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Bram Moolenaar <Bram@mo...> - 2002-12-23 21:59:22
|
Matthew Weier O'Phinney wrote: > > You can't specify a command in a "publish" attribute. You can specify a > > local directory: > > > > :attr { publish = file:/path/to/files/%file% } $HTMLFILES > > > > Does that do what you want? > Nope, I get the following error from a-a-p: > Aap: Uploading ['/home/matthew/projects/personal/content/file2.html', > '/home/matthew/projects/personal/content/calendar.html', > '/home/matthew/projects/personal/content/index.html'] to > file:/home/matthew/public_html/personal/content > > Aap: Error in recipe: Can only upload to scp:// and ftp:// > > I've tried: > :attr { publish = file:/path/to/files/%file% } $HTMLFILES > :attr { publish = file://path/to/files/%file% } $HTMLFILES > > and neither of them work, and both give the same error. > > Any other ideas? Which version are you using? I fixed something for using "file:" not too long ago. But I thought it was before release 0.100. Using "file:" should work, it does for me: Using this recipe line: :attr {publish = file:/tmp/%file%} test/foo.c test/bar.c % aap -f try.aap publish Aap: Uploading ['test/bar.c', 'test/foo.c'] to file:/tmp/test Aap: Copied "test/bar.c" to "file:/tmp/test/bar.c" Aap: Copied "test/foo.c" to "file:/tmp/test/foo.c" -- hundred-and-one symptoms of being an internet addict: 148. You find it easier to dial-up the National Weather Service Weather/your_town/now.html than to simply look out the window. /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html /// |