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

 file upload

Print topic Send  topic

Author Message
David
Posted: 05/07/2004, 6:57 AM

Hi all,

i wanna upload my files to

http://mydomain/picfolder.

but i hav'nt fixed a hosting provider yet.

now it's testing stage

so i wanna upload my files to

http://localhost/picfolder.

but in file upload options(properties),the upload location should be a path in local computer,like d:/foldername.

my doubt is,

when deploying the application to web,through a hosting company,how can this path set?.i hav looked the WEB-INF/site.properties file,but there is not having an option to specify this.how to solve?

second doubt.

when uploading a file,the name saved to the DB is and the uploaded filename will be,

27627627627.filename.extension(a number is added on front).

so if i uploaded a file named cat.jpg

the filename in DB and filename in uploaded location will be,

27627627627.cat.jpg.

then,

if i upload a file,named blue cat.jpg(there is a whitespace in filename)

the filename stored in DB will be 27627627627.blue cat.jpg

and the filename in uploaded location will be

27627627627.blue%20cat.jpg

this makes probloms to me.how to get rid of that %20 appearing between filename

i think i asked the questien very clearly.











peterr


Posts: 5971
Posted: 05/07/2004, 9:28 AM

Of course you cannot upload files to various Websites. This is good :-)
You need to know the exact local path on your Web server.

I don't know the answer to your second question but since you wrote that you already asked it and no one responded then you may consider contacting our support.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
David
Posted: 05/07/2004, 10:21 AM

thanks for reply.now i can think abt my own solutions.

i sugest CCS forum admin to respond to all questiens.if u do that,the people who asks questien can take a decision immediately.if a questien cannot be answered to any reason(lot of reasons) plz tell the reason to the questenair.

for eg: if a questien is not specifc,plz tell the questenair that it's hard to understand ur doubt.it's better than not answering a questien.



peterr


Posts: 5971
Posted: 05/07/2004, 11:01 AM

This is a user forum, however our support can answer most of your questions.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
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.

Web Database

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.