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

How to programatically FTP an adp from web server

I store my front ends on a web server that all my users have access to and
need to be able to run a script that first checks to see if the front end the
user opens is the most current version. That part I have under control, I
need to be able to run a script that ftp's the latest adp from the web
server to the user desktop if the have an old adp. Right now I have a popup
form that tells the user to update but then they have to go and grab the new
front end manually. Any ideas? Thanks.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200606/1
Jun 19 '06 #1
1 1684

AkAlan via AccessMonster.com wrote:
I store my front ends on a web server that all my users have access to and
need to be able to run a script that first checks to see if the front end the
user opens is the most current version. That part I have under control, I
need to be able to run a script that ftp's the latest adp from the web
server to the user desktop if the have an old adp. Right now I have a popup
form that tells the user to update but then they have to go and grab the new
front end manually. Any ideas? Thanks.


The easiest way would probably be to use the VBA shell command in
conjunction with the simple ftp client that comeftp s with Windows
(c:\windows\system32\ftp.exe)

You'll need to set up a script file containing the necessary ftp
commands and provide that as an argument to ftp, e.g.

dim varRtn as variant

varRtn = Shell("ftp -s:filename host")

where filename is your ftp script file and host is the host name or IP
address of the location of your adp updates.

Go to a command prompt in windows and type ftp -? for more information
about the ftp command parameters. Type ftp at the command prompt and
then ? at the ftp> prompt for more information about commands available
for your script.

Depending on your needs you may want to delay the execution of the rest
of your code until your scripted ftp process finishes. If this is the
case you may want to look at the code at
http://www.mvps.org/access/api/api0004.htm.

HTH,
Bruce

Jun 22 '06 #2

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

Similar topics

3
by: Gil | last post by:
Hello, I use VB.NET and have a series of linkbuttons that are inside individual <td>s. Like this: <td background="image.gif"><asp:linkbutton id="myID" runat="server"/></td> I would like...
3
by: Tom Donohue | last post by:
Hello All: I've got, what appears to be a simple problem, but am having a brain cramp on determining the best way to implement. Here is the requirement (I am using ASP.net v1.1) User enters...
17
by: Bonj | last post by:
Right guys. (I would like a solution to this in VB6 as this is what our needy app is written in, but any solutions that involve .NET would be much appreciated likewise as I could instantiate...
0
by: Carlitos | last post by:
Hi there, I do not have much experience nor knowledge about security in ASP.NET nor Windows, so I apologize if I sound naive in this question. I developed a web application and a DLL that the...
3
by: Ben Crinion | last post by:
I am creating a web service which will be available on only one of two servers at a time. Both servers will have exactly the same services running but one will be a backup which just waits doing...
0
by: mike | last post by:
Hi, When I programatically Bind a DataSource to DetailsView it does not fire "ModeChanged" event. This is first time i am trying to use ASP.NET DetailsView control. I have played with some of the...
5
by: Ranginald | last post by:
Hi, I have a question about encrypting connection strings in an asp.net 2.0 app in a shared hosting environment. From what I have read, I believe I need to programatically encrypt and decrypt...
0
by: OceanBreeze | last post by:
I have added a LinkButton to the web page programatically from server side code using ASP 2.0 and C# in my Page_Load method. I also associate this LinkButton with a LinkButton_ClickHandler_Edit and...
3
by: =?Utf-8?B?UGF1bA==?= | last post by:
I need to programatically upload a text file to a web server using the HTTPWebRequest object within .Net 2.0. So far, I have determined that: - I need a HTTP content-type of...
7
by: sachinkale123 | last post by:
Hi, I am developing one web application where I am adding a job to sql server 2005 scheduler programatically. When I run code i m able to add job to schedular but it does not execute on time. If I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.