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

 Upload: saving 2 copies of uploaded picture in different folders

Print topic Send  topic

Author Message
GeorgeS

Posts: 206
Posted: 10/12/2004, 12:47 PM

Hi,
we have Persits ASP upload, PDF & JPG components installed.
Our clients will be uploading high-res photos from 200kb to 1 mb in size and we'd like to make smaller copies of these pictures at the time of uploading for displaying on our web pages.
(Large files will be used for brochures & cards.)

I know how to do it in plain ASP but I can't figure out how to do the same in CCS wih its Upload component.
For now I know only how to upload the originl file.

In my Project's properties I selected "Persits Software" for File Upload Component.
Does it mean that CCS automatically will include somewhere AspUpload.inc file & things like: 'Set Upload = Server.CreateObject("Persits.Upload")' ?

What events of CCS's Upload component do I need to use for:
renaming file,
re-sizing it and
saving a smaller copy ?

i have tried renaming files in BeforeProcessFile event:
NewRecord1.FileUpload1.value = "newname_" & NewRecord1.FileUpload1.value
but it hasn't worked.


Any help will be appreciated!
Thank you.
_________________
GeorgeS
View profile  Send private message

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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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