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 6462
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: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: 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,...
| |