Title: Message
I copy program files using a line like:
 
copyfile(Pchar(File1),Pchar(File2),false);
 
Sometimes this fails for no obvious reason (File2 is not in use for instance), and if I open Windows explorer and copy from there it usually works, if not if I delete the destination file and then paste works fine.  To my mind this proves it is not a problem with permissions to write into this folder...
 
File1 is on the server, File2 is local on C drive.
 
any ideas?
 
Background:
This is a neat way of updating programs - updated exe files are loaded into a central update folder (which is not used except for copying from), and the startup program copies any updated programs into the local C drive working folder before any programs are in use.   Works wonderfully except on one site......I wonder the problem is from not being administrator or something in the PC setup being locked down....(although I don't know why as Windows Explorer works)
 
 

John Bird

email

 [EMAIL PROTECTED]

 [EMAIL PROTECTED]

Expert in Beyond Software

Ph land (03)384-4527  mobile (027)484-4528

92 Soleares Ave, Mt Pleasant

Christchurch

Web www.jbcl.co.nz

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary T. Benner
Sent: Wednesday, 20 September 2006 5:17 p.m.
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: RE: [DUG] Integrating Indy HTTPServer

[Reply]

HI Jeremy,

If you are incorporating this into an app, may I suggest you dynamically instantiate the component each time you make an http call. I found this made for greater reliability.

kr

Gary

At 13:53 on 20/09/2006 you wrote

>To : [email protected]

>CC :

>From: Jeremy Coulter, [EMAIL PROTECTED]

>Content Type: text/html

>Attached:

>

>This is a multi-part message in MIME format.

>

>

>

>

>Hi all.

>List seems to have been VERY quite over the last few days.

>

>Has anyone successfully integrated the Indy HTTP Server into an app.?

>I am going to be adding an HTTP Server into an app. I have and wondered if

>anyone had used the indy one, and how they found it?

>Can I use ISAPI or CGI apps. with it does anyone know?

>

>

>Thanks, Jeremy

>

>--

>No virus found in this outgoing message.

>Checked by AVG Free Edition.

>Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 19/09/2006

>

>

>

>_______________________________________________

>Delphi mailing list

>[email protected]

>http://ns3.123.co.nz/mailman/listinfo/delphi



Gary Benner
e-Engineer, Lecturer, and Software Developer
123 Internet Limited
Waiariki Institute of Technology
Sunshine Garden Bag Co.
Sommnet.com Limited
Mob: 021 966 992
Email: [EMAIL PROTECTED]


Ref#: 41006



__________ NOD32 1.1461 (20060329) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to