CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Delete uploaded image

Print topic Send  topic

Author Message
manolo
Posted: 08/24/2005, 1:27 PM

When I click on "delete" in the file upload component, it deletes de "file name" stored in the record (in my case an image) but the file remains in the server.

How can I actually delete the file from the record and from the server,?

It can be done in a single step, I mean, by just pressing the "delete" botton?
DonB
Posted: 08/24/2005, 3:13 PM

It should do that for you automatically (admittedly, it's been a rare case
where I've had deletes with which to confirm this but I seem to recall that
it does). I bet the permissions on that folder deny delete to the webserver
user ('apache', I'd guess, but it depends on the webserver you have). The
files may be owned by 'nobody' rather than 'apache'.

--
DonB

http://www.gotodon.com/ccbth


"manolo" <manolo@forum.codecharge> wrote in message
news:5430cd8459946f@news.codecharge.com...
> When I click on "delete" in the file upload component, it deletes de "file
name"
> stored in the record (in my case an image) but the file remains in the
server.
>
> How can I actually delete the file from the record and from the server,?
>
> It can be done in a single step, I mean, by just pressing the "delete"
botton?
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.