Author Topic: Why (findfile) is required with (vl-file-copy)  (Read 2123 times)

0 Members and 1 Guest are viewing this topic.

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Why (findfile) is required with (vl-file-copy)
« on: March 23, 2007, 03:56:09 PM »
I am looking to do something similar that is mention in this thread here.  But before I tear into the code, I am curious as to why (findfile) is needed?  Can some one explain why.

I know the files are in source file (actually Files & Folders) that is on the network and I want  to copy and replace the files on the local if and when I tell it to. 

Again just wondering if why I have to use the (findfile).    Or is there an easier function.
Thanks.
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: Why (findfile) is required with (vl-file-copy)
« Reply #1 on: March 23, 2007, 04:30:02 PM »
It's used to verify the 1.)existence of the file to copy & 2.) non-existence in the destination folder. File-copy will not replace an existing file, IIRC.