Need to Pass Uploaded File Name to Second Page
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > FrontPage Server Extensions for Windows > Need to Pass Uploaded File Name to Second Page




Pages (2): [1] 2 »   Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Need to Pass Uploaded File Name to Second Page  
Kristen Wagner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-04 10:51 PM

Hi,

Is there any way to capture the name of a file uploaded with the FP Upload
Component and pass it to another page? I need specifics, please. I am aware
that this isn't "built in" to the component and that some customization is
required.

Thanks.







[ Post a follow-up to this message ]



    Re: Need to Pass Uploaded File Name to Second Page  
Thomas A. Rowe


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-04 10:51 PM

Check with your host to see what ASP File Upload component they have install
ed or are willing to
install and support. As this will give you a lot more control over the what 
is or can be uploaded
then use the FP Upload component.

Some host provide ASPUpload from http://www.aspupload.com

--
 ========================================
======
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
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

"Kristen Wagner" <kwagner@twcny.rr.com> wrote in message
news:esxbWsXgEHA.644@tk2msftngp13.phx.gbl...
> Hi,
>
> Is there any way to capture the name of a file uploaded with the FP Upload
> Component and pass it to another page? I need specifics, please. I am awar
e
> that this isn't "built in" to the component and that some customization is
> required.
>
> Thanks.
>
>







[ Post a follow-up to this message ]



    Re: Need to Pass Uploaded File Name to Second Page  
Kristen Wagner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-04 10:51 PM

Hi Thomas,

I think we've had this discussion before, albeit on a variation of the
topic. I have access to the host and we can install anything we need to. I
was trying to avoid complicating things if I could; this should be a fairly
straightforward operation. So are you saying that I can't extract the
information if I use the File Upload component? How annoying of MS to
include a feature that's so darn inflexible.

Kristen

"Thomas A. Rowe" <tarowe@mvps.org> wrote in message
news:u8elp2XgEHA.3964@TK2MSFTNGP12.phx.gbl...
> Check with your host to see what ASP File Upload component they have
installed or are willing to
> install and support. As this will give you a lot more control over the
what is or can be uploaded
> then use the FP Upload component.
>
> Some host provide ASPUpload from http://www.aspupload.com
>
> --
>  ========================================
======
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> WEBMASTER Resources(tm)
> http://www.ycoln-resources.com
> 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
>
> "Kristen Wagner" <kwagner@twcny.rr.com> wrote in message
> news:esxbWsXgEHA.644@tk2msftngp13.phx.gbl... 
Upload[vbcol=seagreen] 
aware[vbcol=seagreen] 
is[vbcol=seagreen] 
>
>







[ Post a follow-up to this message ]



    Re: Need to Pass Uploaded File Name to Second Page  
Thomas A. Rowe


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-04 10:51 PM

Kristen,

The FP features are very basic features for users that do not want to do any
 coding, therefore most
of the FP component have limitation on what can be done. For many users thes
e limitation are not an
issue.

See:
http://support.microsoft.com/defaul...n-resources.com
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

"Kristen Wagner" <kwagner@twcny.rr.com> wrote in message
news:%23NjQ18XgEHA.236@tk2msftngp13.phx.gbl...
> Hi Thomas,
>
> I think we've had this discussion before, albeit on a variation of the
> topic. I have access to the host and we can install anything we need to. I
> was trying to avoid complicating things if I could; this should be a fairl
y
> straightforward operation. So are you saying that I can't extract the
> information if I use the File Upload component? How annoying of MS to
> include a feature that's so darn inflexible.
>
> Kristen
>
> "Thomas A. Rowe" <tarowe@mvps.org> wrote in message
> news:u8elp2XgEHA.3964@TK2MSFTNGP12.phx.gbl... 
> installed or are willing to 
> what is or can be uploaded 
> Upload 
> aware 
> is 
>
>







[ Post a follow-up to this message ]



    Re: Need to Pass Uploaded File Name to Second Page  
Kristen Wagner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-04 10:51 PM

Thomas,

Yes, I understand that. However, I don't even want to pass the name to a
database. I just want to pick it up and show it on a subsequent page. I was
surprised at the lack of even this basic functionality--even though the DRW
has its limitations, for example, you can customize its output to a certain
extent to achieve many things.

Thanks for taking the time to respond.

Kristen

"Thomas A. Rowe" <tarowe@mvps.org> wrote in message
news:%23Tb7EUYgEHA.2916@TK2MSFTNGP12.phx.gbl...
> Kristen,
>
> The FP features are very basic features for users that do not want to do
any coding, therefore most
> of the FP component have limitation on what can be done. For many users
these limitation are not an
> issue.
>
> See:
>
http://support.microsoft.com/defaul...&Product=fp2002
>
> --
>  ========================================
======
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> WEBMASTER Resources(tm)
> http://www.ycoln-resources.com
> 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
>
> "Kristen Wagner" <kwagner@twcny.rr.com> wrote in message
> news:%23NjQ18XgEHA.236@tk2msftngp13.phx.gbl... 
I[vbcol=seagreen] 
fairly[vbcol=seagreen] 
am[vbcol=seagreen] 
customization[vbcol=seagreen] 
>
>







[ Post a follow-up to this message ]



    Re: Need to Pass Uploaded File Name to Second Page  
Thomas A. Rowe


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-04 10:51 PM

Kristen,

Are you saying that the name of the uploaded file doesn't appear on the defa
ult confirmation page?
If it does, then you should be able to create a custom confirmation page to 
display it, but you
still have no way of displaying the name on other pages.

None of the FP components have the ability to capture and store the name wit
hout using a server-side
script for use on other pages. The guest book and discussion web do store th
e info into HTML files,
but the info can not be later used on other pages.

--
 ========================================
======
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
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

"Kristen Wagner" <kwagner@twcny.rr.com> wrote in message
news:%23D5CgpYgEHA.3728@TK2MSFTNGP10.phx.gbl...
> Thomas,
>
> Yes, I understand that. However, I don't even want to pass the name to a
> database. I just want to pick it up and show it on a subsequent page. I wa
s
> surprised at the lack of even this basic functionality--even though the DR
W
> has its limitations, for example, you can customize its output to a certai
n
> extent to achieve many things.
>
> Thanks for taking the time to respond.
>
> Kristen
>
> "Thomas A. Rowe" <tarowe@mvps.org> wrote in message
> news:%23Tb7EUYgEHA.2916@TK2MSFTNGP12.phx.gbl... 
> any coding, therefore most 
> these limitation are not an 
> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;830324&Product=fp2002[/u
rl] 
> I 
> fairly 
> am 
> customization 
>
>







[ Post a follow-up to this message ]



    Re: Need to Pass Uploaded File Name to Second Page  
Kristen Wagner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-14-04 12:47 PM

Hi Thomas,

The name of the uploaded file does appear on the default confirmation page,
but not on my custom page. I had been experimenting with the procedures
outlined in the white paper "How to Send Form Results to a Database and an
E-Mail Address and Use the File Upload Component Simultaneously," and it
occurred to me that if it's possible to get the file upload information into
a text file and, subsequently, into an Access database, there must be some
way to get it where I want it.

Kristen

"Thomas A. Rowe" <tarowe@mvps.org> wrote in message
news:OYNugxYgEHA.1972@TK2MSFTNGP09.phx.gbl...
> Kristen,
>
> Are you saying that the name of the uploaded file doesn't appear on the
default confirmation page?
> If it does, then you should be able to create a custom confirmation page
to display it, but you
> still have no way of displaying the name on other pages.
>
> None of the FP components have the ability to capture and store the name
without using a server-side
> script for use on other pages. The guest book and discussion web do store
the info into HTML files,
> but the info can not be later used on other pages.
>
> --
>  ========================================
======
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> WEBMASTER Resources(tm)
> http://www.ycoln-resources.com
> 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
>
> "Kristen Wagner" <kwagner@twcny.rr.com> wrote in message
> news:%23D5CgpYgEHA.3728@TK2MSFTNGP10.phx.gbl... 
was[vbcol=seagreen] 
DRW[vbcol=seagreen] 
certain[vbcol=seagreen] 
do[vbcol=seagreen] 
users[vbcol=seagreen] 
http://support.microsoft.com/defaul...&Product=fp2002[vbcol=seagreen
] 
the[vbcol=seagreen] 
to.[vbcol=seagreen] 
the[vbcol=seagreen] 
to[vbcol=seagreen] 
have[vbcol=seagreen] 
the[vbcol=seagreen] 
see:[vbcol=seagreen] 
FP[vbcol=seagreen] 
I[vbcol=seagreen] 
>
>







[ Post a follow-up to this message ]



    Re: Need to Pass Uploaded File Name to Second Page  
Thomas A. Rowe


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-14-04 10:48 PM

Kristen,

I should of ask this before, what is this function / application suppose to 
do?

I understand that a user will be uploading a file, but what happens to the f
ile after it is
uploaded, is there a chance that at some point the same file will need to be
 uploaded as a
replacement, overwriting the original file of the same name current stored i
n the web?

Why do you need to capture and display the file name on other pages?

Answer to the above may limit the usability of the FP upload component.

Bottom-line, if you forgo trying to do this with the FP upload component, yo
u most likely can do
everything you want using ASP/VBScript and a ASP Upload component, there is 
even code available to
handle the upload but doesn't require a ASP Upload component to be installed
 on the server.

--
 ========================================
======
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
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

"Kristen Wagner" <kwagner@twcny.rr.com> wrote in message
news:%237VjC5egEHA.3728@TK2MSFTNGP10.phx.gbl...
> Hi Thomas,
>
> The name of the uploaded file does appear on the default confirmation page
,
> but not on my custom page. I had been experimenting with the procedures
> outlined in the white paper "How to Send Form Results to a Database and an
> E-Mail Address and Use the File Upload Component Simultaneously," and it
> occurred to me that if it's possible to get the file upload information in
to
> a text file and, subsequently, into an Access database, there must be some
> way to get it where I want it.
>
> Kristen
>
> "Thomas A. Rowe" <tarowe@mvps.org> wrote in message
> news:OYNugxYgEHA.1972@TK2MSFTNGP09.phx.gbl... 
> default confirmation page? 
> to display it, but you 
> without using a server-side 
> the info into HTML files, 
> was 
> DRW 
> certain 
> do 
> users 
> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;830324&Product=fp2002[/u
rl] 
> the 
> to. 
> the 
> to 
> have 
> the 
> see: 
> FP 
> I 
>
>







[ Post a follow-up to this message ]



    Re: Need to Pass Uploaded File Name to Second Page  
Kristen Wagner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-14-04 10:48 PM

Hi Thomas,

First of all, thanks for taking the time to assist me with this. I really
appreciate the concrete feedback you consistently give.

I am running FP2003 on W2K Pro for development purposes and will ultimately
publish to a W2K Server running FP2003. I am also using SQL Server 2000 as a
back end (more on that in a minute).

Here's what I'm trying to do: allow clients to upload a file and then
proceed from that upload directly to a form page which they will fill out,
describing what should be done with the file. The contents of the form page,
together with the name of the uploaded file, will be sent in an email to
someone else who will process it (completely offline as far as this process
goes). Actually, it doesn't matter whether the file gets uploaded before or
after the form gets filled out and submitted--somehow the information just
has to be combined in one email. It's possible that the the uploaded file
would need to be replaced by another one of the same name.

Clients will be uploading from both Macs and PCs.

Right now, this functionality already exists, but it's in separate pieces.
Now users FTP their file(s) to the FTP server and then fill out the
information form separately, typing in the name of the file themselves. The
person processing the order receives the email and then retrieves the file.
The goal is to smooth out the process for the uploading client.

There is one other factor at the front end: we'd like to offer the uploading
client the ability to retrieve certain information, such as their contact
info and delivery address, etc., from a database table. This data would
populate *some* fields in the submission form. None of the form field data
needs to go back to the database--just to the email. The database table is
already set up in SQL Server 2000.

Please don't tell me to hire a programmer!! While I admit to being new to
FP2003, I have used FP2000 with SQL Server 2000 successfully and am
confident that this is manageable. I am looking at asp upload alternatives,
but being somewhat stubborn I am determined to squeeze what I consider to be
a minimal request out of the FPE...;>

Thanks again,
Kristen

"Thomas A. Rowe" <tarowe@mvps.org> wrote in message
news:uoruXzigEHA.3864@TK2MSFTNGP10.phx.gbl...
> Kristen,
>
> I should of ask this before, what is this function / application suppose
to do?
>
> I understand that a user will be uploading a file, but what happens to the
file after it is
> uploaded, is there a chance that at some point the same file will need to
be uploaded as a
> replacement, overwriting the original file of the same name current stored
in the web?
>
> Why do you need to capture and display the file name on other pages?
>
> Answer to the above may limit the usability of the FP upload component.
>
> Bottom-line, if you forgo trying to do this with the FP upload component,
you most likely can do
> everything you want using ASP/VBScript and a ASP Upload component, there
is even code available to
> handle the upload but doesn't require a ASP Upload component to be
installed on the server.
>
> --
>  ========================================
======
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> WEBMASTER Resources(tm)
> http://www.ycoln-resources.com
> 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
>
> "Kristen Wagner" <kwagner@twcny.rr.com> wrote in message
> news:%237VjC5egEHA.3728@TK2MSFTNGP10.phx.gbl... 
page,[vbcol=seagreen] 
an[vbcol=seagreen] 
into[vbcol=seagreen] 
some[vbcol=seagreen] 
the[vbcol=seagreen] 
page[vbcol=seagreen] 
name[vbcol=seagreen] 
store[vbcol=seagreen] 
to a[vbcol=seagreen] 
page. I[vbcol=seagreen] 
the[vbcol=seagreen] 
to[vbcol=seagreen] 
http://support.microsoft.com/defaul...&Product=fp2002[vbcol=seagreen
] 
see:[vbcol=seagreen] 
of[vbcol=seagreen] 
need[vbcol=seagreen] 
be a[vbcol=seagreen] 
extract[vbcol=seagreen] 
MS[vbcol=seagreen] 
they[vbcol=seagreen] 
over[vbcol=seagreen] 
support[vbcol=seagreen] 
the[vbcol=seagreen] 
please.[vbcol=seagreen] 
>
>







[ Post a follow-up to this message ]



    Re: Need to Pass Uploaded File Name to Second Page  
Thomas A. Rowe


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-15-04 01:46 AM

Kristen,

First, I don't think you need to hire a programmer, since you have used FP20
00 and worked with MS
SQL server.

In order to accomplish your goals, you need the following parts for the appl
ication:

1. ASP/VBScript function to allow users to login, so that their data can be 
retrieved from the
database and used to populate the submission form and maybe even assign a na
me to the file after it
has been uploaded.

2. ASP/VBScript function to allow user to upload files to a specific folder 
and then add the file
name to the database.

3. ASP/VBScript function that will generate an email to the person responsib
ility for process the
order/submission, with a link to the uploaded document after the file has be
en uploaded and
submission written to the database. (I don't trust email, so I always write 
to the database first,
and then send the email, this way if the email fails, you still have a recor
d of the
order/submission.)

Process steps:

1. Client logs in, select submission

2. Submission form loads with existing data from client database record.

3. Client add any additional info needed for the submission

4. Client submit submission form.

5. Client receive submission confirmation with request to upload document.

6. Application grabs uploaded document and assigns unique name to the docume
nt related the
submission record created in step 5.

7. Application send email notification to individual responsible for process
ing the order/submission
with link to submission record, which has a link to uploaded document.

Additional processes/steps will be needed to allow clients to replace a prev
iously uploaded
document.

Limitations of FP Upload Component:

1. Requires the FP2002 extensions, can not be used with server-side scripts 
(ASP, ASP.net).

2. Can not limit the type or size of files that can be uploaded, Maximum 1 M
B file upload.

3. Can not use the value from the form field in ASP/ASP.net.

4. You can not upload replacement files to overwrite of the prior uploaded f
iles of the same name.
This is also an issue if two or more clients attempt to upload a file of the
 same name.

Just though of this... If you are familiar with using cookies, then you migh
t be able to store the
filename in a cookie and then retrieve the value for other pages.

--
 ========================================
======
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
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

"Kristen Wagner" <kwagner@twcny.rr.com> wrote in message
news:eV7CspjgEHA.556@tk2msftngp13.phx.gbl...
> Hi Thomas,
>
> First of all, thanks for taking the time to assist me with this. I really
> appreciate the concrete feedback you consistently give.
>
> I am running FP2003 on W2K Pro for development purposes and will ultimatel
y
> publish to a W2K Server running FP2003. I am also using SQL Server 2000 as
 a
> back end (more on that in a minute).
>
> Here's what I'm trying to do: allow clients to upload a file and then
> proceed from that upload directly to a form page which they will fill out,
> describing what should be done with the file. The contents of the form pag
e,
> together with the name of the uploaded file, will be sent in an email to
> someone else who will process it (completely offline as far as this proces
s
> goes). Actually, it doesn't matter whether the file gets uploaded before o
r
> after the form gets filled out and submitted--somehow the information just
> has to be combined in one email. It's possible that the the uploaded file
> would need to be replaced by another one of the same name.
>
> Clients will be uploading from both Macs and PCs.
>
> Right now, this functionality already exists, but it's in separate pieces.
> Now users FTP their file(s) to the FTP server and then fill out the
> information form separately, typing in the name of the file themselves. Th
e
> person processing the order receives the email and then retrieves the file
.
> The goal is to smooth out the process for the uploading client.
>
> There is one other factor at the front end: we'd like to offer the uploadi
ng
> client the ability to retrieve certain information, such as their contact
> info and delivery address, etc., from a database table. This data would
> populate *some* fields in the submission form. None of the form field data
> needs to go back to the database--just to the email. The database table is
> already set up in SQL Server 2000.
>
> Please don't tell me to hire a programmer!! While I admit to being new to
> FP2003, I have used FP2000 with SQL Server 2000 successfully and am
> confident that this is manageable. I am looking at asp upload alternatives
,
> but being somewhat stubborn I am determined to squeeze what I consider to 
be
> a minimal request out of the FPE...;>
>
> Thanks again,
> Kristen
>
> "Thomas A. Rowe" <tarowe@mvps.org> wrote in message
> news:uoruXzigEHA.3864@TK2MSFTNGP10.phx.gbl... 
> to do? 
> file after it is 
> be uploaded as a 
> in the web? 
> you most likely can do 
> is even code available to 
> installed on the server. 
> page, 
> an 
> into 
> some 
> the 
> page 
> name 
> store 
> to a 
> page. I 
> the 
> to 
> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;830324&Product=fp2002[/u
rl] 
> see: 
> of 
> need 
> be a 
> extract 
> MS 
> they 
> over 
> support 
> the 
> please. 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:11 AM.      Post New Thread    Post A Reply      
Pages (2): [1] 2 »   Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register