In a File Upload form, dictate a file to be uploaded...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My desired result is to be able to "hardcode" a pathname of a file to be
uploaded instead of the user having to hit the Browse button and select the
file to be uploaded or any means which yield the same result.

FrontPage '03

Thank you in advance,
 
The File Upload HTML element has a text box which can be typed into.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
For security reasons you can not do this, the user must select the file

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Can you think of a way that, on a clients web page, one can simply click a
button and I can have coded which file is to be uploaded?

Thank you for your reply!
glennTK
 
Thanks Kevin for the reply, but what I mean is for the user not to have to
select a particular file but instead simply click a button and I (the
programmer) haven already dictated which file will upload.

Thanks,
glennTK
 
Hi,
As Thomas pointed out there's no way to do this. Iimagine if it was
possible, any web site would be able to grab any file from your computer -
that would not be a good thing :-)
 
Point well taken...thanks Jon

Jon Spivey said:
Hi,
As Thomas pointed out there's no way to do this. Iimagine if it was
possible, any web site would be able to grab any file from your computer -
that would not be a good thing :-)
 
Hey Jon, how bout this; is there a way to have a Windows program "behind the
scenes" ftp a file to the server with the click of a button. I have VS.Net
'03 but am not up on ftp'ing. The jist is to be able to upload a file that
will be used as an include file per user dictated text. Or, put another way,
have a client of his web site be able to alter parts of his web via a Windows
app, then go online and update his web site by sending this file, which, in
the web site, will be used as an include file in an area that he desires to
be able to update sub-frequently.

Thanks, and I know this one isn't much to Frontpage so I understand if
you're not sure,
glennTK
 
You need to take a look at Content Seed, which was created by FrontPage MVP Chris Leeds:

http://contentseed.com/

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
Doesn't have restrictions on file upload

--




| You need to take a look at Content Seed, which was created by FrontPage MVP Chris Leeds:
|
| http://contentseed.com/
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| 95isalive
| This site is best viewed............
| .......................with a computer
|
| | > Hey Jon, how bout this; is there a way to have a Windows program "behind the
| > scenes" ftp a file to the server with the click of a button. I have VS.Net
| > '03 but am not up on ftp'ing. The jist is to be able to upload a file that
| > will be used as an include file per user dictated text. Or, put another way,
| > have a client of his web site be able to alter parts of his web via a Windows
| > app, then go online and update his web site by sending this file, which, in
| > the web site, will be used as an include file in an area that he desires to
| > be able to update sub-frequently.
| >
| > Thanks, and I know this one isn't much to Frontpage so I understand if
| > you're not sure,
| > glennTK
| >
| >
| > "Jon Spivey" wrote:
| >
| > > Hi,
| > > As Thomas pointed out there's no way to do this. Iimagine if it was
| > > possible, any web site would be able to grab any file from your computer -
| > > that would not be a good thing :-)
| > >
| > > --
| > > Cheers,
| > > Jon
| > > Microsoft MVP
| > >
| > > | > > > Can you think of a way that, on a clients web page, one can simply click a
| > > > button and I can have coded which file is to be uploaded?
| > > >
| > > > Thank you for your reply!
| > > > glennTK
| > > >
| > > > "Thomas A. Rowe" wrote:
| > > >
| > > >> For security reasons you can not do this, the user must select the file
| > > >>
| > > >> --
| > > >> ==============================================
| > > >> Thomas A. Rowe (Microsoft MVP - FrontPage)
| > > >> WEBMASTER Resources(tm)
| > > >>
| > > >> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| > > >> ==============================================
| > > >> To assist you in getting the best answers for FrontPage support see:
| > > >> http://www.net-sites.com/sitebuilder/newsgroups.asp
| > > >>
| > > >> | > > >> > My desired result is to be able to "hardcode" a pathname of a file to
| > > >> > be
| > > >> > uploaded instead of the user having to hit the Browse button and select
| > > >> > the
| > > >> > file to be uploaded or any means which yield the same result.
| > > >> >
| > > >> > FrontPage '03
| > > >> >
| > > >> > Thank you in advance,
| > > >> >
| > > >>
| > > >>
| > > >>
| > >
| > >
| > >
|
|
 
You can't since the idea of the "Browse" button is that the user can choose
a file from their machine to upload to your site.

How are you going to know what file(s) (the one/s you want to 'hard code')
is on their machine?
 
The issue here is the file you select with the "Browse" field is one to be
uploaded from the user's (that is, the person viewing the site) machine
 
Hi Glenn,

I noticed your question and also that you didn't get an answer to your
question below. I don't know if this is exactly what you were looking for
but I do something similar to what you are asking. I have a couple of girls
typing for me from home in an Access database - I added a button that they
click which backs up their work and then runs a batch file that ftp's the
work to my ftp site - built in the login password, etc. Works like a dream
for me. If this solution would help you I would be happy to share.

Bonnie
 
Keep in mine, that this approach will only work if the online database is not being updated by
visitors to the web site.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
http://www.Ecom-Data.com
==============================================
 
Back
Top