473,406 Members | 2,698 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,406 software developers and data experts.

Need to upload a file from local machine without user interaction. Any ideas?

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 upload
that file from their box to our server. Any ideas on the best idea on how
this could be done? I have thought about using a webservice and actually
have one written but I am having trouble with it picking up the file from
their local machine since it is running on our server. I would even
entertain the idea of using a third party control if there are any good ones
out there that someone can recommend.

Thanks in advance!
Nov 18 '05 #1
2 2365
instead of a pull mechanism from the server, it should be a push from the
client. write code on the client which pushes the file to server.
web service is a way to go.

Av.
"David Hearn" <da*********@stagparkway.com> wrote in message
news:ej**************@TK2MSFTNGP11.phx.gbl...
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 upload that file from their box to our server. Any ideas on the best
idea on how this could be done? I have thought about using a webservice and
actually have one written but I am having trouble with it picking up the
file from their local machine since it is running on our server. I would
even entertain the idea of using a third party control if there are any
good ones out there that someone can recommend.

Thanks in advance!

Nov 18 '05 #2
I think this is possible with signed ActiveX control or Java application.
With digitial certificates the code restriction will become less restricted.

"Daniel Jin" <Da*******@discussions.microsoft.com> ¦b¶l¥ó
news:D0**********************************@microsof t.com ¤¤¼¶¼g...
I certainly hope this cannot be done for security reason. Imagine the risk this exposes client machines to? any web site can steal any
information off of your harddrive if this were possible.
"David Hearn" wrote:
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 upload that file from their box to our server. Any ideas on the best idea on how this could be done? I have thought about using a webservice and actually
have one written but I am having trouble with it picking up the file from their local machine since it is running on our server. I would even
entertain the idea of using a third party control if there are any good ones out there that someone can recommend.

Thanks in advance!

Nov 18 '05 #3

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

Similar topics

7
by: Joe | last post by:
I have an upload file operation in the web application. UploadForm.asp is the form, and UploadAction.asp is the form processing. //UploadForm.asp <FORM NAME="InputForm"...
1
by: PeterB | last post by:
Hi! I'm using Pure ASP File Upload (http://www.asp101.com/articles/jacob/scriptupload.asp) to upload a file from a client to a server. I am testing both on a local IIS and a remote server. The...
2
by: Brian Madsen | last post by:
Hey guys, I am currently working on a remote file upload utility from an external server to a local server. Problems I face is: 1)the request server cannot be mapped - ie. i can't secure it...
18
by: Jen | last post by:
I'm using Microsoft's own VB.NET FTP Example: http://support.microsoft.com/default.aspx?scid=kb;en-us;832679 I can get the program to create directories, change directories, etc., but I can't...
1
by: Rizwan | last post by:
I am writing this code for file upload in asp 3.0 on my webpage........ It is working on local system but when i want to upload an image on my website from client machine it is not working ..........
4
by: google.com | last post by:
Hi there! I've been digging around looking for a sample on how to upload a file without user action. I found the following article covering the area: ...
5
by: mmcd79 | last post by:
I built a VB.net application that makes use of a machine level DB connection string setting, and a user level starting location setting. The machine level setting and the default user based...
1
by: seejay1982 | last post by:
Hi, I am writing an application where I create a temporary file on the client machine and I have to upload this file to a CGI on the server. This needs to be done without the user interaction. ...
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...
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
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...
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,...
0
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...

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.