473,657 Members | 2,395 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

vb.net code to download file from ftp server to location on database server

Hi,

I need to write a vb.net program to look for and download a file from an ftp
server. The file needs to be downloaded to the same server that the .net
program will run from. Next I need to create a dts package on SQL server to
run this program at a set time each day. Does anyone have some code that
does this type of download. And, can a dts package be set up on SQL to run a
..net program? Does the program need to reside on the same server as the SQL
database?

Thanks,
Rasta
Nov 21 '05 #1
3 1945
Hi,

http://support.microsoft.com/default...b;en-us;832679

Ken
--------------
"Rasta" <ab*****@netgat e.net> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Hi,

I need to write a vb.net program to look for and download a file from an ftp
server. The file needs to be downloaded to the same server that the .net
program will run from. Next I need to create a dts package on SQL server to
run this program at a set time each day. Does anyone have some code that
does this type of download. And, can a dts package be set up on SQL to run a
..net program? Does the program need to reside on the same server as the SQL
database?

Thanks,
Rasta

Nov 21 '05 #2

Hi,

Thanks for the link - that code worked like a charm! My remaining
question is, how can I schedule this vb.net code to run at a specific
time each day? Can this be done through SQL Server or is there a
better/alternate way?

Thanks again
*** Sent via Developersdex http://www.developersdex.com ***
Nov 21 '05 #3
On 2005-07-28, alien51 roswell <ab*****@netgat e.net> wrote:

Hi,

Thanks for the link - that code worked like a charm! My remaining
question is, how can I schedule this vb.net code to run at a specific
time each day? Can this be done through SQL Server or is there a
better/alternate way?

Thanks again
*** Sent via Developersdex http://www.developersdex.com ***


Put your app in the task scheduler?

--
Tom Shelton [MVP]
Nov 21 '05 #4

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

Similar topics

11
2413
by: Jim Willsher | last post by:
Hi all, PHP 4.2.2 on RedHat9 I have some files on my website for people to download, and I want to generate the file location "on the fly", so the URL is held in a database. I have a simple PHP script, pasted below. IE users are fine, but Mozilla users actually see the file contents on screen, as garbage, instead of being presented with the "save as" dialog.
2
5229
by: Matthew Sims | last post by:
Is it possible to force a download without using the readfile function? My website setup consists of my server that serves the web pages plus a high-speed file server elsewhere on the internet that servers my files. I'm currently using header("Location: abc.com") to redirect my users to this other site but can't force a download. I can get it to work using readfile() but that means the file moves from the high-speed server through my...
3
12401
by: James Kirk | last post by:
The script below allows me to link to a file and as the user clicks to download, the 'File Download' windows appears as normal, and the user can download... The original page is then redirected to a new page.. This works, but it also opens a blank page.. How can this be chaged to stop the blank page from opening... ? <script type="text/javascript">
6
1694
by: Nimesh | last post by:
Hi All, I am new to ASP.NET. I need to download a file from server to the client machine. Any ideas on how to go about this ? Thanks In Advance.
14
2185
by: Aaron | last post by:
On my website I have a dynamic link(aspx) to this file 0AX120S.jpg(privacy protection). When a visitor clicks on the link I want them to see my_vacation_pic.jpg (fetch realname from database) is this possible with ASP.NET(C#)? Thanks Aaron
4
1205
by: ckerns | last post by:
What I want to do is this via asp a. Store file in database (I can do this) b. Filter for a record (I can do this) When page loads, I'd like to c. Have that record display on web page and have user be able to download the file (BLOb) in this record via a link. Any hints here?
1
1723
by: Steve | last post by:
Hi, I need to provide a button to download a file from my server. However, I would like to hide the location of that file and am not sure how to do this securely with PHP. For example, the user clicks on the "Download file" button but gets a link such as download.php which then starts the download process but never shows the path to that file (not from 'view source' or in the URL line at the top). Any help would be most appreciated.
1
1765
by: Iulian | last post by:
Hi, I am working on a directory type of site and I got stuck in the following problem: when the user clicks on the download link I present a page that sais: "Contacting download site... If the download does not start in 10 sec. please click the link below". At this point I would like to attempt to download the file and send it to the client. One think I managed to do is to call a "DownloadBridge.aspx" page from the Body's onload event and...
5
3373
by: sumguyovrthar | last post by:
Hi. I can't place an mdb database above the http root, so anyone is able to download it through their browser if they know where it is. This database contains some sensitive information. I am used to Apache server and open source languages, I think web.conf is sort of equivalent to Apache's .htaccess, is there some way I can edit web.conf to disallow access to mdb files? I'm sorry if this is not the exact group I should be posting in,...
0
8395
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
8310
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
8826
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
8732
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...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
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
4155
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...
0
4306
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.