Re: question why it does work on not changed files here?

calmar <[email protected]> Sat, 3 Dec 2005 22:14:36 +0100
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
On Sat, Dec 03, 2005 at 02:58:25PM +0100, Bram Moolenaar wrote:

Hi Bram and all,

> Now the next problem is that the code that obtains a timestamp doesn't
> really work for ftp://.  Thus the file can be found, but it doesn't have
> a timestamp.  Then Aap handles it like it doesn't exist.  I'll change
> this to pretend the file is very old.
> 
> Now it seems to work for me.  Try this patch:

well, now that works properly/perfectly here too:

,---------------[      main.aap       ]------------------------
|
| dir = ftp://n4a4xx:[email protected]/html/test
|
| all   : $dir/file
|
| $dir/file : file
|     :sys curl -T $source $target
|
`-------------------------------------------------------------

Updates when the source file has changed, and/or the target file
got deleted. (From what I understand, that's the standard also
for local files). 

Another difference seems to be, that the sign file gets produces in the
source AAPDIR folder, compared to local files, where the sign gets
stored in the target AAPDIR, well :)


Cool :)

thanks and cheers

marco


-- 
  calmar

          (o_  It rocks: LINUX + Command-Line-Interface
          //\
          V_/_                     http://www.calmar.ws


-------------------------------------------------------
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