473,406 Members | 2,956 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,406 software developers and data experts.

ASPUpload

Hi everyone,

I've not really had much experience of ASPUpload yet, so some help
would be much appreciated!.

What I'm trying to do is upload an image (which I've managed with the
sample code from the ASPUpload site), then I want to rename the image
to a number, namely the value of an autonumber field in my Access
database. i.e. 1.jpg, 2.jpg etc

I have no problem retrieving the autonumber etc it's the renaming part
I'm struggling with.

I'm using ASPUpload v2

Could anyone post some sample code or point me to somewhere that
covers this. I've had a search around and can't seem to find much.

Thanks in advance,

Tom
Jul 19 '05 #1
1 2362
You could use unique file name function and store the name in your access
database
http://www.aspupload.com/manual_simple.html
Otherwise you'll have to let aspupload save the file, then rename it.
http://www.aspfaq.com/show.asp?id=2074
"Nakedwalls" <sa***@nakedwalls.co.uk> wrote in message
news:41**************************@posting.google.c om...
Hi everyone,

I've not really had much experience of ASPUpload yet, so some help
would be much appreciated!.

What I'm trying to do is upload an image (which I've managed with the
sample code from the ASPUpload site), then I want to rename the image
to a number, namely the value of an autonumber field in my Access
database. i.e. 1.jpg, 2.jpg etc

I have no problem retrieving the autonumber etc it's the renaming part
I'm struggling with.

I'm using ASPUpload v2

Could anyone post some sample code or point me to somewhere that
covers this. I've had a search around and can't seem to find much.

Thanks in advance,

Tom

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: John Rebbeck | last post by:
(sorry about cross posting but I really need help with this and it fits in both newsgroups) I'm creating a little image manager and I'm using Persits ASPUpload. I have an UploadButton and...
2
by: | last post by:
I am using aspupload in a hosting environment. When testing the basic install of the component I am trying to use the default forms provided. When using the the first method as found at...
1
by: | last post by:
I am using ASPUpload and trying to upload images to a database. I have had success in getting the image to the db and then dispalying the imnage on a webpage. The problem is wheni have more than one...
6
by: Vilmar Brazão de Oliveira | last post by:
HI; How can I rename a file with aspupload or FSO before upload? I looked for in documentation of these products, but I could not find anything yet! Thanks, -- ««««««««»»»»»»»»»»»»»»
2
by: Vilmar Brazão de Oliveira | last post by:
Hi, How verify type or extension of file using ASPUPLOAD? I check documentation, but I didn't find anything else yet. thanks, -- ««««««««»»»»»»»»»»»»»» Vlmar Brazão de Oliveira...
5
by: Kelli | last post by:
Hi there, I'm wondering if someone can have a quick look at my code and see if there's anything that I've done wrong. This silly script is driving me crazy! <% DIM File, Upload, Count,...
8
by: BigJohnson | last post by:
We're using ASPUpload as a tool to upload files to our server and save the details to SQLServer. However, I have an application where I need to return the pkID of the just saved file. I'm assuming...
0
by: hellind | last post by:
When the form is submitted as ENCTYPE="multipart/form-data" using AspUpload component, I understand to use Upload.form("") to retreive the form elements. But I cannot retreive it from inside a class....
5
by: the other john | last post by:
I'm not certain that what I'm asking is an AspUpload question or just a VBScript question. I am uploading a story with up to 3 pictures. Each picture uploads using aspupload with no problems. ...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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,...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.