473,400 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

Upload File / Component?

Dear all,

I am now creating an Content Management System which support 3
languages (English, Tranditional Chinese and Simplified Chinese). Before I
use the component (aspSmartUpload) to help me uploading photo and files. It
works for English and Traditional data; for Simplified Chinese Version, I
need to use unicode (nvarchar, nchar, ntext) to store the data in MSSQL;
however, I discover that the aspSmartUpload component can't get correct data
from the form so that all records become wrong coding after inserting into
the database. I would like to know are there any component which can
support storing unicode form data or how can I upload the file without any
component? Thank you for all of your help.
Alex Yung


Jul 21 '05 #1
2 3026
Did you look at www.aspupload.com or www.softartisans.com ? They have the
two best upload components, IMHO, and if any of them will support your
requirements, I would bet it's them.

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Alex" <al**@f-technology.com> wrote in message
news:uE**************@TK2MSFTNGP11.phx.gbl...
Dear all,

I am now creating an Content Management System which support 3
languages (English, Tranditional Chinese and Simplified Chinese). Before I use the component (aspSmartUpload) to help me uploading photo and files. It works for English and Traditional data; for Simplified Chinese Version, I
need to use unicode (nvarchar, nchar, ntext) to store the data in MSSQL;
however, I discover that the aspSmartUpload component can't get correct data from the form so that all records become wrong coding after inserting into
the database. I would like to know are there any component which can
support storing unicode form data or how can I upload the file without any
component? Thank you for all of your help.
Alex Yung

Jul 21 '05 #2
It's months later, but I just found this thread Googling. aspSmartUpload is an excellent component, IMHO. The trick to Unicode/utf-8 support is two-fold...

1. You must ensure that the page where the upload form resides has this meta tag...

META http-equiv="Content-Type" content="text/html; charset=utf-8"
(pointy brackets left out for posting)

2. You must put the following command before objectName.Upload...

objectName.CodePage = "utf-8"

That should do it!

Mike Levin
http://www.mike-levin.com

Posted via DevelopmentNow Groups
www.developmentnow.com/g
www.developmentnow.com
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: x. zhang | last post by:
Hi Guys, We know that we can use <input type=file ...> to upload one file per time to the server. My question is if there are some way to upload multiple files per time to the server. (Of...
32
by: Ray at | last post by:
I despise installing third party software on my workstations or servers. It is for this reason that I use componentless-upload for file uploads. This is no longer an option, and I have to...
23
by: Utada P.W. SIU | last post by:
Hi All, Do you know where have free/buy a upload file component? I need allow user to select the folder instead of select file one by one thanks~~
4
by: Uncle Ben | last post by:
Is there any good and reliable Upload Component for ASP (or ASP.NET)? I need one which provides an upload status bar. As well, it must be able to handle more than 4 gigabytes of data transfer....
2
by: SU_Oran | last post by:
I found this when searching. I need to have a simple script that will upload a single file. It is giving me an error on Set upl = Server.CreateObject("ASPSimpleUpload.Upload") It is saying : ...
3
by: Mike Kelly | last post by:
Hi. I've built a page using standard ASP.NET 2.0 features and when I upload a large file (>20MB) to our intranet server, I get a paltry 100KB/s on our 100Mb/s LAN. Simply copying the file, I get...
0
by: SEMIH DEMIR | last post by:
Sitelerden birinde verilen yabancı kaynakli bir scriptti duzenledim yanlız birseyin içinden bir turlu cıkamadım işin aslı ilk defa persistin upload componentini kullanacam yanlız suanki haliyle...
3
by: shapper | last post by:
Hello, I need to upload a file. Can I only do this with the File Upload control? I also need the following: - Send upload info, upload percentage, continuously to a JavaScript function so...
12
by: GuangXiN | last post by:
I want the file upload element disappear, instead of it, I place a text box and a button with my own css defination. but it doesn't work on IE7. What should I do now? <form action="upload.php"...
6
by: Laphan | last post by:
Hi All I can't get round this because it's a local government thing, but I've done a CMS for a school (in ASP classic) that allows them to upload gifs, jpgs, pdfs and docs to their site for the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.