By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,559 Members | 2,992 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,559 IT Pros & Developers. It's quick & easy.

persists.upload.1

P: n/a
Hi there....

I have an ASP routine that I'm writing which updates an Access database with
a user name, the file name, etc. all done through parameter processing and
SQL functions.

I do not use any HTML form processing at all, i.e. <INPUT TYPE="FILE"
etc...> processing. In actuality, I'm not using HTML at all. All is done
with request.querystring and comparing these to database fields...

Here's my problem...every function in the ASP works perfectly until I get to
this point:

MyFolder="../data"
Set Upload = Server.CreateObject("Persits.Upload.1")
NumberOfFiles = Upload.SaveVirtual(MyFolder)
Response.Write (NumberOfFiles & " files saved to folder " & MyFolder)
Response.End

When I go to run this, I get this error:

Persits.Upload.1 error '800a0003'
Nothing has been posted.
/bsiclaimsrec/backdoor2.asp, line 62

I did some research and it said this error can be due to missing a
METHOD=POST command in the form. I'm not using a form. Are there any
alternatives? Using a form is not an option....it needs to be automated
using ASP code (no HTML)

Thanks

Tom

P.S. I can make the code I have now available to anyone that needs it
Jul 19 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
How can you save a file that isn't uploaded? Or how can a user upload file
if there isn't even a <INPUT TYPE=FILE>?

Ray at work

"Thomas Brooks" <br*****@bsi-vt.com> wrote in message
news:wC******************@news1.news.adelphia.net. ..
Hi there....

I have an ASP routine that I'm writing which updates an Access database with a user name, the file name, etc. all done through parameter processing and
SQL functions.

I do not use any HTML form processing at all, i.e. <INPUT TYPE="FILE"
etc...> processing. In actuality, I'm not using HTML at all. All is done
with request.querystring and comparing these to database fields...

Here's my problem...every function in the ASP works perfectly until I get to this point:

MyFolder="../data"
Set Upload = Server.CreateObject("Persits.Upload.1")
NumberOfFiles = Upload.SaveVirtual(MyFolder)
Response.Write (NumberOfFiles & " files saved to folder " & MyFolder)
Response.End

When I go to run this, I get this error:

Persits.Upload.1 error '800a0003'
Nothing has been posted.
/bsiclaimsrec/backdoor2.asp, line 62

I did some research and it said this error can be due to missing a
METHOD=POST command in the form. I'm not using a form. Are there any
alternatives? Using a form is not an option....it needs to be automated
using ASP code (no HTML)

Thanks

Tom

P.S. I can make the code I have now available to anyone that needs it

Jul 19 '05 #2

P: n/a
Ray,

Thanks for the pointer, but I guess I wasn't specific enough. I know about
the <INPUT TYPE=FILE>. What I'm hoping for is an ASP alternative to that.
Is there one? I want to upload a file with out having to go into HTML. We
want to have the upload be an automated process.

Tom
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:OW**************@TK2MSFTNGP09.phx.gbl...
How can you save a file that isn't uploaded? Or how can a user upload file if there isn't even a <INPUT TYPE=FILE>?

Ray at work

"Thomas Brooks" <br*****@bsi-vt.com> wrote in message
news:wC******************@news1.news.adelphia.net. ..
Hi there....

I have an ASP routine that I'm writing which updates an Access database with
a user name, the file name, etc. all done through parameter processing and SQL functions.

I do not use any HTML form processing at all, i.e. <INPUT TYPE="FILE"
etc...> processing. In actuality, I'm not using HTML at all. All is done with request.querystring and comparing these to database fields...

Here's my problem...every function in the ASP works perfectly until I

get to
this point:

MyFolder="../data"
Set Upload = Server.CreateObject("Persits.Upload.1")
NumberOfFiles = Upload.SaveVirtual(MyFolder)
Response.Write (NumberOfFiles & " files saved to folder " & MyFolder)
Response.End

When I go to run this, I get this error:

Persits.Upload.1 error '800a0003'
Nothing has been posted.
/bsiclaimsrec/backdoor2.asp, line 62

I did some research and it said this error can be due to missing a
METHOD=POST command in the form. I'm not using a form. Are there any
alternatives? Using a form is not an option....it needs to be automated
using ASP code (no HTML)

Thanks

Tom

P.S. I can make the code I have now available to anyone that needs it


Jul 19 '05 #3

P: n/a
Mind if I ask why or what you're trying to accomplish? I mean, there are
lots of ways to transfer a file, but if you're talking about using a web
page to do it, it'll either be a <input type=file> or creating a custom
activeX control that your users will have to install and trust!

Ray at home

"Thomas Brooks" <br*****@bsi-vt.com> wrote in message
news:HQ******************@news1.news.adelphia.net. ..
Ray,

Thanks for the pointer, but I guess I wasn't specific enough. I know about the <INPUT TYPE=FILE>. What I'm hoping for is an ASP alternative to that.
Is there one? I want to upload a file with out having to go into HTML. We want to have the upload be an automated process.

Tom

Jul 19 '05 #4

P: n/a
Ray,

Basically, it's for healthcare claims. Because of HIPAA compliance, I
obviously can't go into specifics. My client would like the ability to
automatically upload x # of files at a given time, so they don't have to go
into a web page and keep using an <INPUT TYPE=FILE> form (in actuality, I
already have these functionality in place, but it uploads one file at a
time.) The processing to automatically set up the links is done behind the
scenes in Visual FoxPro. FYI - Here's what happens in VFP:

VFP sets up a link which contains the URL to access, with user name,
password, and file name as parameters. The parameters are gathered using
request.querystring and validated against a database online. If the user
name and password match what's in the database, they can then upload the
file (always a TXT in a predetermined format - I have other processing that
parses out info from this TXT file). All processing for updating/verifying
databases works now...it's just the upload of the physical file that I need.

With this said, I need 1 of 2 things. (1). Either the means of uploading
this file using some kind of ASP/JAVA or Active X script that will upload
the file without the use of any <INPUT TYPE=FILE> processing. If there is
ASP for this, great. I have never programmed any Active X at all, so I
would definitely need guidance with this. Active X is a viable solution
because it would be my client's clients that would be uploading the files.
So they would have no problem with the trust and security issues involved
with an Active X control. Or (2)...I could populate the <INPUT TYPE=FILE>
field with the file name based on the parameter I passed, but I would need
an ASP routine which then automatically clicks the OK/SUBMIT button that is
part of the FILE field. Don't know if auto-clicking the button can be done.

My client prefers total automation on this....that's why I'm trying to do
this...preferably, they do not want any user intervention at all. Simply
use FoxPro to generate the link and parameters --> access the web ---> login
and validate automatically ---> upload a file automatically, then have a
nice cheesy message, HTML table, whatever saying "Thank You" or something
like that. I just need the bridge to physically upload that file, again
preferably without using <INPUT TYPE=FILE>. I'll take an Active X approach
if necessary.

Hope I've answered your questions. Any and all guidance is greatly
appreciated. Thanks for your time and help!

Tom
"Ray at <%=sLocation%>" <myfirstname at lane 34 . komm> wrote in message
news:ux**************@TK2MSFTNGP11.phx.gbl...
Mind if I ask why or what you're trying to accomplish? I mean, there are
lots of ways to transfer a file, but if you're talking about using a web
page to do it, it'll either be a <input type=file> or creating a custom
activeX control that your users will have to install and trust!

Ray at home

"Thomas Brooks" <br*****@bsi-vt.com> wrote in message
news:HQ******************@news1.news.adelphia.net. ..
Ray,

Thanks for the pointer, but I guess I wasn't specific enough. I know

about
the <INPUT TYPE=FILE>. What I'm hoping for is an ASP alternative to that. Is there one? I want to upload a file with out having to go into HTML.

We
want to have the upload be an automated process.

Tom


Jul 19 '05 #5

P: n/a
Hi Tom,

Yes, I think that your novel has answers to questions in it. ;] Because of
security concerns, it is not possible to automate a file upload through a
normal html form unless you create your own browser or something. I'm
pretty sure that the only way that you could accomplish what you want to do
is to create a client-size activeX control. I neither have ever created any
client-side controls, so I wouldn't really know where to start either.

What about FTP? You could always just send them a .bat file and tell them
to run it, and have that .bat file automate and FTP session and then "net
send %computername% Your files were uploaded." That'd be a bit primitive,
to say the least though.

Ray at home

"Thomas Brooks" <br*****@bsi-vt.com> wrote in message
news:jk******************@news1.news.adelphia.net. ..
Ray,

Basically, it's for healthcare claims. Because of HIPAA compliance, I
obviously can't go into specifics. My client would like the ability to
automatically upload x # of files at a given time, so they don't have to go into a web page and keep using an <INPUT TYPE=FILE> form (in actuality, I
already have these functionality in place, but it uploads one file at a
time.) The processing to automatically set up the links is done behind the scenes in Visual FoxPro. FYI - Here's what happens in VFP:

VFP sets up a link which contains the URL to access, with user name,
password, and file name as parameters. The parameters are gathered using
request.querystring and validated against a database online. If the user
name and password match what's in the database, they can then upload the
file (always a TXT in a predetermined format - I have other processing that parses out info from this TXT file). All processing for updating/verifying databases works now...it's just the upload of the physical file that I need.
With this said, I need 1 of 2 things. (1). Either the means of uploading
this file using some kind of ASP/JAVA or Active X script that will upload
the file without the use of any <INPUT TYPE=FILE> processing. If there is
ASP for this, great. I have never programmed any Active X at all, so I
would definitely need guidance with this. Active X is a viable solution
because it would be my client's clients that would be uploading the files.
So they would have no problem with the trust and security issues involved
with an Active X control. Or (2)...I could populate the <INPUT TYPE=FILE>
field with the file name based on the parameter I passed, but I would need
an ASP routine which then automatically clicks the OK/SUBMIT button that is part of the FILE field. Don't know if auto-clicking the button can be done.
My client prefers total automation on this....that's why I'm trying to do
this...preferably, they do not want any user intervention at all. Simply
use FoxPro to generate the link and parameters --> access the web ---> login and validate automatically ---> upload a file automatically, then have a
nice cheesy message, HTML table, whatever saying "Thank You" or something
like that. I just need the bridge to physically upload that file, again
preferably without using <INPUT TYPE=FILE>. I'll take an Active X approach if necessary.

Hope I've answered your questions. Any and all guidance is greatly
appreciated. Thanks for your time and help!

Tom
"Ray at <%=sLocation%>" <myfirstname at lane 34 . komm> wrote in message
news:ux**************@TK2MSFTNGP11.phx.gbl...
Mind if I ask why or what you're trying to accomplish? I mean, there are
lots of ways to transfer a file, but if you're talking about using a web
page to do it, it'll either be a <input type=file> or creating a custom
activeX control that your users will have to install and trust!

Ray at home

"Thomas Brooks" <br*****@bsi-vt.com> wrote in message
news:HQ******************@news1.news.adelphia.net. ..
Ray,

Thanks for the pointer, but I guess I wasn't specific enough. I know

about
the <INPUT TYPE=FILE>. What I'm hoping for is an ASP alternative to that. Is there one? I want to upload a file with out having to go into

HTML. We
want to have the upload be an automated process.

Tom



Jul 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.