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

Updating databse / ASP

YM
Hi,

I have an ACCESS database on the web-server. I build my ASP-driven
website around the database. If I need to update dynamic information
on the website, I 1) download the entire database 2) edit it 3) upload
it back to the server.

I don't have a problem with doing that. However, I want everyone in
the office to be able to 1) edit the database 2) save it to the server
without the FTP download/upload mumbo-jumbo. Oh, and I don't want to
build data access pages - more pain than it's worth. I tried creating
a shortcut on desktop to the ftp location, but that didn't fly.

Thank you very much,

Mia
Nov 13 '05 #1
5 1493
There is a free OLE control called EZFTP. It can be downloaded at:

Http://www.programmersheaven.com/zone15/cat722/2321.htm

With this routine I was able to make the FTP "mumbo-jumbo" transparent to
the users. There is also a "professional" pay version which adds some
features, but the free version worked very well for me. For the record, I
put the code in a VB6 program. The only little gotcha that I experienced was
understanding that I had to move the OLE control from the VB6 toolbox to the
form, so that it would be accessible in the code (duh).

Frank

"YM" <ma*******@hotmail.com> wrote in message
news:26**************************@posting.google.c om...
Hi,

I have an ACCESS database on the web-server. I build my ASP-driven
website around the database. If I need to update dynamic information
on the website, I 1) download the entire database 2) edit it 3) upload
it back to the server.

I don't have a problem with doing that. However, I want everyone in
the office to be able to 1) edit the database 2) save it to the server
without the FTP download/upload mumbo-jumbo. Oh, and I don't want to
build data access pages - more pain than it's worth. I tried creating
a shortcut on desktop to the ftp location, but that didn't fly.

Thank you very much,

Mia

Nov 13 '05 #2
rkc

"Chuck Grimsby" <c.*******@worldnet.att.net.invalid> wrote in message
news:pb********************************@4ax.com...

Mia, more then likely, people don't _need_ FTP capabilities to
download your Access database.

Type in the web address to your database in your favorite browser as
if it was a webpage, and watch what happens. Your server will quite
nicely serve up the database to the web user as if it was a zip file,
and the user can choose to save it to their disk with a qualm.

Which is a good reason not to use Access databases on your website.


That's a bit of a stretch since there's is no reason to ever publish the
actual file name or have it in anywhere that is accessible unless you want
it to be.
Nov 13 '05 #3
rkc

"Chuck Grimsby" <c.*******@worldnet.att.net.invalid> wrote in message
news:60********************************@4ax.com...
On Fri, 29 Oct 2004 01:14:33 GMT, "rkc"
<rk*@yabba.dabba.do.rochester.rr.bomb> wrote:

"Chuck Grimsby" <c.*******@worldnet.att.net.invalid> wrote in message
news:pb********************************@4ax.com.. .
Mia, more then likely, people don't _need_ FTP capabilities to
download your Access database.
Type in the web address to your database in your favorite browser as
if it was a webpage, and watch what happens. Your server will quite
nicely serve up the database to the web user as if it was a zip file,
and the user can choose to save it to their disk with a qualm.
That's a bit of a stretch since there's is no reason to ever publish the
actual file name or have it in anywhere that is accessible unless you

wantit to be.


Not really a stretch at all. The accessibility of the file is a
requirement of how ASP pages work. On more then a few web pages, you
can simply do a "View Source" of a web page and the database's name
and location is there for anyone who wants it. I've done it a number
of times while out surfing the web.


Your advice on being able to download a .mdb file from a web page without
the bother of using ftp is correct. A simple <a href=> will accomplish that.

Since that was what the op was looking for, (I guess) I won't bother
blabbering
on about the point I was trying to make.

Nov 13 '05 #4
YM
Thank you for your reply,

Need a little more info - a little more specific, if you don't mind.
I don't have VB development environment, or time to develop evything
at all ... Although your solution is very sweet, can you suggest
something more idiot-proof?

Thank you again,

Mia Jones

"Frank" <fn*********@hotmail.com> wrote in message news:<10*************@corp.supernews.com>...
There is a free OLE control called EZFTP. It can be downloaded at:

Http://www.programmersheaven.com/zone15/cat722/2321.htm

With this routine I was able to make the FTP "mumbo-jumbo" transparent to
the users. There is also a "professional" pay version which adds some
features, but the free version worked very well for me. For the record, I
put the code in a VB6 program. The only little gotcha that I experienced was
understanding that I had to move the OLE control from the VB6 toolbox to the
form, so that it would be accessible in the code (duh).

Frank

"YM" <ma*******@hotmail.com> wrote in message
news:26**************************@posting.google.c om...
Hi,

I have an ACCESS database on the web-server. I build my ASP-driven
website around the database. If I need to update dynamic information
on the website, I 1) download the entire database 2) edit it 3) upload
it back to the server.

I don't have a problem with doing that. However, I want everyone in
the office to be able to 1) edit the database 2) save it to the server
without the FTP download/upload mumbo-jumbo. Oh, and I don't want to
build data access pages - more pain than it's worth. I tried creating
a shortcut on desktop to the ftp location, but that didn't fly.

Thank you very much,

Mia

Nov 13 '05 #5
Mia,

Sorry, almost any time I have made anything nice for a user, I have had to
spend some time coding to make it happen. The OLE control can be called from
any language - probably (most likely) even Access. I did a real quick google
search on OLE control & MS Access and there seems to be information out
there on how to do it. As the VB behind Access is the same as any VB (like
the VB6 I am using), the VB code to set up the transfer is:

FTP.RemoteAddress = "123.456.78.90" ' over the web

or

FTP.RemoteAddress = "192.168.0.102" ' local network

FTP.UserName = "User"

FTP.Password = "MyPassword"

FTP.Connect

FTP.RemoteFile = "Database.mdb" 'FTP opens to specified directory

FTP.LocalFile = "Database.mdb"

FTP.Binary = True

FTP.GetFile

FTP.Disconnect

To send it back, substitute FTP.PutFile for FTP.Getfile. If you are still
connected, then the Connect and the stuff before wouldn't be necessary. All
you need to do is learn how to get an OLE control to work in Access. I doubt
that it will be too hard - I just haven't had to do it yet.

Frank
"YM" <ma*******@hotmail.com> wrote in message
news:26**************************@posting.google.c om...
Thank you for your reply,

Need a little more info - a little more specific, if you don't mind.
I don't have VB development environment, or time to develop evything
at all ... Although your solution is very sweet, can you suggest
something more idiot-proof?

Thank you again,

Mia Jones

"Frank" <fn*********@hotmail.com> wrote in message

news:<10*************@corp.supernews.com>...
There is a free OLE control called EZFTP. It can be downloaded at:

Http://www.programmersheaven.com/zone15/cat722/2321.htm

With this routine I was able to make the FTP "mumbo-jumbo" transparent to the users. There is also a "professional" pay version which adds some
features, but the free version worked very well for me. For the record, I put the code in a VB6 program. The only little gotcha that I experienced was understanding that I had to move the OLE control from the VB6 toolbox to the form, so that it would be accessible in the code (duh).

Frank


Nov 13 '05 #6

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

Similar topics

0
by: Jeroen Van Goey | last post by:
Hi, I want to put the OMIM databse locally on my computer. I downloaded the file genemap from ftp://ftp.ncbi.nih.gov/repository/OMIM/ It contains a list of fields, separated by the '|' character....
0
by: Exit12 | last post by:
Hi all I'm new to mysql so easy! I use PHPMyadmin as a front end to administering my databases but my simple question is how do I, from the command line (winxp prompt) drop a certain databse....
11
by: sreenivasan alakappan | last post by:
Hello, I want to create a database applciation in C++. I am using VC++ 6.0 as the deevelopment environment. When I ever i createa project, it only allows me to create a form based normal...
1
by: Elham Ghoddousi | last post by:
I have a problem with my TEMPDB Database.It gets extra size through importing data into one of my databases in same server. How can I shrink my TempDB Databse? Thanks
4
by: sid.rane | last post by:
Hello, I was looking for databse tools that allow easy access to data for users with minimal or no DB knowledge to perform meainstream functions such as read/write/edit/delete data. Something...
0
by: Nir Amber via DotNetMonster.com | last post by:
I cant seem to get the databse to update the tables. i get the following error "System.InvalidOperationException: Missing the DataColumn 'description' in the DataTable 'Transactions' for the...
1
by: Gurdeep Toor via AccessMonster.com | last post by:
Hi Folks, I am building an application in VB.NET... It connects to 2 databases MS SQL SERVER 2005 and MS ACCESS 2003 .. It works all fine with SQL but It only reads the record from the ACCESS...
10
by: tan | last post by:
Hi, I have tested my databse and everthing works fine but then have given it to a customer and the following part of the code does not seems to be updating as required. Set rs =...
1
by: Bakarre | last post by:
To display a field from databse and calculate time different -------------------------------------------------------------------------------- Good day, i have problem to display a field from...
11
by: tokcy | last post by:
Hi everyone, I am new in php and ajax, i am facing the prob while i click on element of first drop down then in second dropdown all element showl come from database. I mean i have three dropdown 1....
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...
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:
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...
0
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...
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.