473,785 Members | 2,449 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Upload a file without file Upload control - ASP.Net

Hi All,

I need to upload an XML file via an client side ActiveX control. I
searched the web but everywhere got the samples of using file control alone.
How can I upload a file into my web server without using the <input type
="file" ....> control.

I need the same for Download also. Without displaying the Save as
dialog box. Why I am asking this is I am going to handle this with my Client
side ActiveX control.

If anybody does knows this, please help me. Thanks is advance.

Nov 19 '05 #1
3 2539
Well, first you're going to need to either find or write an ActiveX control
that does what you want it to. Then you need to bone up on using ActiveX
Controls in HTML pages.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.

"Sarav" <Sa***@discussi ons.microsoft.c om> wrote in message
news:1F******** *************** ***********@mic rosoft.com...
Hi All,

I need to upload an XML file via an client side ActiveX control. I
searched the web but everywhere got the samples of using file control
alone.
How can I upload a file into my web server without using the <input type
="file" ....> control.

I need the same for Download also. Without displaying the Save as
dialog box. Why I am asking this is I am going to handle this with my
Client
side ActiveX control.

If anybody does knows this, please help me. Thanks is advance.

Nov 19 '05 #2
I know, it can only be done by using ActiveX control. But, I am lacking the
knowledge of how to upload/download a file without using default IE support.
If you know how to do this, please tell me.

"Kevin Spencer" wrote:
Well, first you're going to need to either find or write an ActiveX control
that does what you want it to. Then you need to bone up on using ActiveX
Controls in HTML pages.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.

"Sarav" <Sa***@discussi ons.microsoft.c om> wrote in message
news:1F******** *************** ***********@mic rosoft.com...
Hi All,

I need to upload an XML file via an client side ActiveX control. I
searched the web but everywhere got the samples of using file control
alone.
How can I upload a file into my web server without using the <input type
="file" ....> control.

I need the same for Download also. Without displaying the Save as
dialog box. Why I am asking this is I am going to handle this with my
Client
side ActiveX control.

If anybody does knows this, please help me. Thanks is advance.


Nov 19 '05 #3
generally that would all be builtin to the control (ui/upload/download). you
just need to find/buy the control, and convince your users to install it.
the control will come with instructions for the html markup to host it.

-- bruce (sqlwork.com)
"Sarav" <Sa***@discussi ons.microsoft.c om> wrote in message
news:13******** *************** ***********@mic rosoft.com...
I know, it can only be done by using ActiveX control. But, I am lacking the
knowledge of how to upload/download a file without using default IE
support.
If you know how to do this, please tell me.

"Kevin Spencer" wrote:
Well, first you're going to need to either find or write an ActiveX
control
that does what you want it to. Then you need to bone up on using ActiveX
Controls in HTML pages.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.

"Sarav" <Sa***@discussi ons.microsoft.c om> wrote in message
news:1F******** *************** ***********@mic rosoft.com...
> Hi All,
>
> I need to upload an XML file via an client side ActiveX control.
> I
> searched the web but everywhere got the samples of using file control
> alone.
> How can I upload a file into my web server without using the <input
> type
> ="file" ....> control.
>
> I need the same for Download also. Without displaying the Save as
> dialog box. Why I am asking this is I am going to handle this with my
> Client
> side ActiveX control.
>
> If anybody does knows this, please help me. Thanks is advance.
>


Nov 19 '05 #4

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

Similar topics

3
11765
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a table in MySQL with the path & filename to the image. I have successfully uploaded and performed an update query on the database, but the problem I have is I cannot retain the primary key field in a variable which is then used in a SQL update...
5
7202
by: Thomas Brooks | last post by:
Hi there.... I have an ASP routine that I'm writing which updates an Access database with a user name, the file name, etc. all done through parameter processing and SQL functions. I do not use any HTML form processing at all, i.e. <INPUT TYPE="FILE" etc...> processing. In actuality, I'm not using HTML at all. All is done with request.querystring and comparing these to database fields...
5
3599
by: Ariel Dolan | last post by:
Can I use HtmlInputFile to only get the selected file name but not actually upload the file? Clicking the control's Browse button let's the user select a file. All I need is the HtmlInputFile Value property. However, any button clicked on the Html page results in uploading the selected file. Is there a way to avoid the actual uploading? Alternatively, is there any other way to let a user select a file name from his local disk?
1
2557
by: TK | last post by:
I have a file upload control to allow a user to select/upload a file to the server. They need to upload x number of files in one shot because they have to confirm that they are uploading x number files for processing. So I do not want the files to be uploaded until the user presses a submit button verifying that they want to submit x number of files for processig (processing refers to me doing something to the files once uploaded). Catch...
2
2393
by: David Hearn | last post by:
I have a webform that I am creating. I need for the user to be able to pass it the path and name of a file on his/her local machine without any interaction. I don't want to have to use the file upload control. This will be an automated process on their end. They should only have to type the url with a path/file name and let it upload the file that they specify (example: They type http://www.mysite.com?FileName=C:\Test\Test.txt and it will...
1
2823
by: Stefan Berger | last post by:
Hello everybody, i have a proble with uploading files in asp.net. i want to make a special file upload-page without displaying the common html-file-upload-control. i have a made an additional upload-button which shold display the open-file-dialog an then immediatly submit the form. it's no problem to call the open-file-dialog by javascript ( inputfilecontrol.click() ), but if i want to submit the form i get an error 'access denied' and...
5
2298
by: LtCommander | last post by:
Hello all, 1. I am a little new to ASP.NET, so please bear with me. 2. I am trying to create a very simple website which requires an upload box (end user file sizes may be anywhere between 1MB to 10 MB). 3. I would also like to show a progress bar so that the user can see the progress of what he is uploading.
3
613
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 I can display the Upload Progress.
12
2493
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" method="POST" enctype="multipart/form-data"> <p> <span>Select photo:</span> <input type="file" name="photo" style="display:none;"> <input type="text" name="photoUrl" class="s1" /> <input type="button" class="s2"...
0
10325
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10091
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.