Yes, and it was driving me crazy because I thought it was my program's
fault.

I've got a client with a West-Wind shopping cart on a hosted VPS W2K3.
No VFP so I couldn't debug on the server.  (I do have Ed's VRunFox
though.  Thanks Ed!) I'm zipping up the DBFs and sending them up to the
server.  The file is getting there with the updated date and time.  The
program then attempts to unzip the file and completes with the return
code of .T. but any existing file isn't overwritten.

A quick call to DIRCLEAR() seemed to take care of it in my situation.

-Kevin
CULLY Technologies, LLC


Rick Borup wrote:
>> Oooh.  Another thing to test for, is that Unzipping of a file won't
>> overwrite the file if it already exits.  Thus, the DirClear() method.
>> Lottsa testing is recommended. {g}
> 
> I've been experimenting with Craig's library for a little while and my
> testing shows that UnzipTo() *does* overwrite existing files of the same
> name in the target directory. Have you found cases where it does not do so?
> 
> -Rick
> 
> 
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to