I am stuck with this problem and desperately need your help.
I would like to upload an xml file or any file from client machine and
then save it to the server machine. Since the file path on the client
machine is predefined within the program, I am using the HTMLInputFile
control, postedfile, saveas ... and set the input control visibility
to hidden. However, the control value is read only and there is no way
I can set the client file path. I am wondering if there is a simple
way to uploading a file without user selection/specification?
Thanks in advance for your help.
Beatrice 6 6465
Hello
There is no way you can do this with HTML. The value property is read only
for security so that malicious sites don't attempt to read files from the
client computer
without the user approval. If browsers allow this, it would be a big
security hole.
Best regards,
Sherif
"Beatrice" <bw**@axonetinc.com> wrote in message
news:96**************************@posting.google.c om... I am stuck with this problem and desperately need your help.
I would like to upload an xml file or any file from client machine and then save it to the server machine. Since the file path on the client machine is predefined within the program, I am using the HTMLInputFile control, postedfile, saveas ... and set the input control visibility to hidden. However, the control value is read only and there is no way I can set the client file path. I am wondering if there is a simple way to uploading a file without user selection/specification?
Thanks in advance for your help. Beatrice
Hello
There is no way you can do this with HTML. The value property is read only
for security so that malicious sites don't attempt to read files from the
client computer
without the user approval. If browsers allow this, it would be a big
security hole.
Best regards,
Sherif
"Beatrice" <bw**@axonetinc.com> wrote in message
news:96**************************@posting.google.c om... I am stuck with this problem and desperately need your help.
I would like to upload an xml file or any file from client machine and then save it to the server machine. Since the file path on the client machine is predefined within the program, I am using the HTMLInputFile control, postedfile, saveas ... and set the input control visibility to hidden. However, the control value is read only and there is no way I can set the client file path. I am wondering if there is a simple way to uploading a file without user selection/specification?
Thanks in advance for your help. Beatrice
Thanks Sherif!
Then, is there any way to upload xml document on the client-side using JScript?
Thanks again!
Beatrice
"Sherif ElMetainy" <el*************@wayout.net.NOSPAM> wrote in message news:<us*************@TK2MSFTNGP10.phx.gbl>... Hello
There is no way you can do this with HTML. The value property is read only for security so that malicious sites don't attempt to read files from the client computer without the user approval. If browsers allow this, it would be a big security hole.
Best regards, Sherif
"Beatrice" <bw**@axonetinc.com> wrote in message news:96**************************@posting.google.c om... I am stuck with this problem and desperately need your help.
I would like to upload an xml file or any file from client machine and then save it to the server machine. Since the file path on the client machine is predefined within the program, I am using the HTMLInputFile control, postedfile, saveas ... and set the input control visibility to hidden. However, the control value is read only and there is no way I can set the client file path. I am wondering if there is a simple way to uploading a file without user selection/specification?
Thanks in advance for your help. Beatrice
Thanks Sherif!
Then, is there any way to upload xml document on the client-side using JScript?
Thanks again!
Beatrice
"Sherif ElMetainy" <el*************@wayout.net.NOSPAM> wrote in message news:<us*************@TK2MSFTNGP10.phx.gbl>... Hello
There is no way you can do this with HTML. The value property is read only for security so that malicious sites don't attempt to read files from the client computer without the user approval. If browsers allow this, it would be a big security hole.
Best regards, Sherif
"Beatrice" <bw**@axonetinc.com> wrote in message news:96**************************@posting.google.c om... I am stuck with this problem and desperately need your help.
I would like to upload an xml file or any file from client machine and then save it to the server machine. Since the file path on the client machine is predefined within the program, I am using the HTMLInputFile control, postedfile, saveas ... and set the input control visibility to hidden. However, the control value is read only and there is no way I can set the client file path. I am wondering if there is a simple way to uploading a file without user selection/specification?
Thanks in advance for your help. Beatrice
Although there are methods that allow you to use client side files,
they will all ask you to confirm it's use, or will stop you if you
dont have privileges. Consider using an HTA instead of an HTM
application. You get asked, but only once.
On 6 Apr 2004 09:29:19 -0700, bw**@axonetinc.com (Beatrice) wrote: Thanks Sherif!
Then, is there any way to upload xml document on the client-side using JScript?
Thanks again! Beatrice "Sherif ElMetainy" <el*************@wayout.net.NOSPAM> wrote in message news:<us*************@TK2MSFTNGP10.phx.gbl>... Hello
There is no way you can do this with HTML. The value property is read only for security so that malicious sites don't attempt to read files from the client computer without the user approval. If browsers allow this, it would be a big security hole.
Best regards, Sherif
"Beatrice" <bw**@axonetinc.com> wrote in message news:96**************************@posting.google.c om... > I am stuck with this problem and desperately need your help. > > I would like to upload an xml file or any file from client machine and > then save it to the server machine. Since the file path on the client > machine is predefined within the program, I am using the HTMLInputFile > control, postedfile, saveas ... and set the input control visibility > to hidden. However, the control value is read only and there is no way > I can set the client file path. I am wondering if there is a simple > way to uploading a file without user selection/specification? > > Thanks in advance for your help. > Beatrice
Although there are methods that allow you to use client side files,
they will all ask you to confirm it's use, or will stop you if you
dont have privileges. Consider using an HTA instead of an HTM
application. You get asked, but only once.
On 6 Apr 2004 09:29:19 -0700, bw**@axonetinc.com (Beatrice) wrote: Thanks Sherif!
Then, is there any way to upload xml document on the client-side using JScript?
Thanks again! Beatrice "Sherif ElMetainy" <el*************@wayout.net.NOSPAM> wrote in message news:<us*************@TK2MSFTNGP10.phx.gbl>... Hello
There is no way you can do this with HTML. The value property is read only for security so that malicious sites don't attempt to read files from the client computer without the user approval. If browsers allow this, it would be a big security hole.
Best regards, Sherif
"Beatrice" <bw**@axonetinc.com> wrote in message news:96**************************@posting.google.c om... > I am stuck with this problem and desperately need your help. > > I would like to upload an xml file or any file from client machine and > then save it to the server machine. Since the file path on the client > machine is predefined within the program, I am using the HTMLInputFile > control, postedfile, saveas ... and set the input control visibility > to hidden. However, the control value is read only and there is no way > I can set the client file path. I am wondering if there is a simple > way to uploading a file without user selection/specification? > > Thanks in advance for your help. > Beatrice This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Pedro Carvalho |
last post by:
I am using a WebClient.Upload File method (using the HTTP POST) on the
Client side and, to accept posted files on the Server side, I am using an
ASP.NET page with the following code:
void...
|
by: WM Chung |
last post by:
Hello all,
My dotnet application configuration is that the client, Web server and
database all reside in 3 different computers. There is a function which can
browse a file and read in the...
|
by: alfredfx |
last post by:
i'm planning to develop a client server system
the client and server both able to upload picture
client will upload the picture to a folder that reside in the server
while server user can also...
|
by: John Lee |
last post by:
Hi,
I have a simple web page that allow file to be uploaded, the upload page
looks like the following:
<form method="post" name="upload" enctype="multipart/form-data"...
|
by: Beatrice |
last post by:
I am stuck with this problem and desperately need your help.
I would like to upload an xml file or any file from client machine and
then save it to the server machine. Since the file path on the...
|
by: vbdotnetmentor |
last post by:
I'm trying to find out how to update an app.config file used in an
application on a client machine. Currently the client application
gathers data from certain sources and sends it through a...
|
by: Grace |
last post by:
Does it have any ways that asp.net web application can create the file on
client computer or
get files from client computer?
Thanks.
|
by: harriegovin |
last post by:
Hi,
Here is the scenario.
I have a web application written in vb.net. One of the functionalities
of the application is to save the recordset in an xml format on to the
client machine. The xml...
|
by: Chris |
last post by:
Hello,
I am using asp.net. I have been searching this for a while, but dint
find any solution yet. Any help will be appreciated.
I have a string variable say 'myFile' that has complete path of...
|
by: jwei4920 |
last post by:
does anyone know if there is a way to let user to upload file from their browser to the web server via ftp method but not http upload?
I searched on the web and had a look at MSDN, the ftp method...
|
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
|
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...
|
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...
|
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,...
|
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...
|
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,...
|
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: 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: 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...
| |