473,413 Members | 1,727 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,413 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 3027
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.