473,387 Members | 1,757 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,387 software developers and data experts.

persists.upload.1

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
5 7172
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
2
by: Sean Dotson | last post by:
I have a form that passes variables to an asp file and then uploads a file. For some reason the request.form is not getting the info from the form. It's returning blanks. Any insight would be...
0
by: SEMIH DEMIR | last post by:
Sitelerden birinde verilen yabancı kaynakli bir scriptti duzenledim yanlız birseyin içinden bir turlu cıkamadım işin aslı ilk defa persistin upload componentini kullanacam yanlız suanki haliyle...
1
by: Alex | last post by:
I am having issues with a script to upload files from a client to a webserver. The problem is not with the actual upload but with where it uploads. The whole process is supposed to create a...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
7
by: pbd22 | last post by:
hi. i am having probs understanding how to grab a file being uploaded from a remote client. i am using hidden input fields for upload such as: <input id="my_file_element" type="file"...
9
by: 8anos | last post by:
Hello, I am new at the community and newbie at programming :) As you may know rapidshare provides a perl script for linux, to upload files at their servers. You can find the original scripts at...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
1
by: chennaibala | last post by:
can any one send me mutiple image upload program and save the file name with extension in mysql table.we must cheak uploaded file type like bmp or any image file while uploading. i develop...
0
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,...
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: 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$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.