473,698 Members | 2,080 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.queryst ring 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.CreateOb ject("Persits.U pload.1")
NumberOfFiles = Upload.SaveVirt ual(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 7197
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******** **********@news 1.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.queryst ring 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.CreateOb ject("Persits.U pload.1")
NumberOfFiles = Upload.SaveVirt ual(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******** ******@TK2MSFTN GP09.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******** **********@news 1.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.queryst ring 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.CreateOb ject("Persits.U pload.1")
NumberOfFiles = Upload.SaveVirt ual(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******** **********@news 1.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.queryst ring 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...preferab ly, 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******** ******@TK2MSFTN GP11.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******** **********@news 1.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******** **********@news 1.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.queryst ring 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...preferab ly, 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******** ******@TK2MSFTN GP11.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******** **********@news 1.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
11760
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 table in MySQL with the path & filename to the image. I have successfully uploaded and performed an update query on the database, but the problem I have is I cannot retain the primary key field in a variable which is then used in a SQL update...
2
2455
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 appreciated.... Here is the asp file <HTML> <HEAD> <TITLE>File Upload Results</TITLE>
0
4752
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 verdiği hata şu.Bilen arkadaşlar lütfen yardım edin Persits.Upload.1 error '800a0020' The system cannot find the path specified. /classifieds/upload.asp, line 250
1
8447
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 folder (it does) then upload the file to that folder and this is where the problem comes in. The file is written to the parent directory, not the directory that was created for this user. Following is the code. <% strFTProotFolder =...
9
3830
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 site for a small club I belong to and one of the features I would like to include is the ability to allow users to upload image files. unfortunately the servers web root www folder only allows READ and EXECUTE permissions, which makes it...
7
3186
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" name="file_1" size=46 /><input type=submit /> so, after adding a few files, the input fields look like this:
9
20894
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 rapidshare news : http://images.rapidshare.com/software/rsapi.pl If you test it you will see that you can upload one file at time. I try to modify it in that way that script can read a text file with the names of the files i want to...
21
34412
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 obvious of which is the sharing of files. For example, you upload images to a server to share them with other people over the Internet. Perl comes ready equipped for uploading files via the CGI.pm module, which has long been a core module and allows users...
1
4879
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 program,which can upload many file in folder.problem is,am unable to save my file name in to database.because i used same name for all input file type as file. i dont know get name of file.below i presented my coding for ur view.fed up with my coding..pls...
0
8672
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9156
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9021
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8860
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7712
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4361
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2323
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.