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

creating a simple ftp program with logs...??

I want to create a simple FTP program or service that would:

1.) FTP files in a specific directory to a remote ftp host.
2.) Send off a report telling me if all files transferred or if they
failed via email
3.) If files failed, try to send again every minute for 3 minutes
4.) move files that were successfully ftp'd to a differant directory

Would this be difficult to do? Anyone give any examples?
Are there classes that will do this?

thanks.
Jul 24 '08 #1
3 1241
Jason,

No it is not difficult to do as you use the FTP class, the FileWatcher class
and the SMTP class.

I assume that there more then enough samples around this on
MSDN.Microsoft.Com

Cor

"Jason" <pa*****@excite.comschreef in bericht
news:c3**********************************@m44g2000 hsc.googlegroups.com...
>I want to create a simple FTP program or service that would:

1.) FTP files in a specific directory to a remote ftp host.
2.) Send off a report telling me if all files transferred or if they
failed via email
3.) If files failed, try to send again every minute for 3 minutes
4.) move files that were successfully ftp'd to a differant directory

Would this be difficult to do? Anyone give any examples?
Are there classes that will do this?

thanks.
Jul 24 '08 #2
On Jul 23, 8:29 pm, Jason <paul...@excite.comwrote:
I want to create a simple FTP program or service that would:

1.) FTP files in a specific directory to a remote ftp host.
2.) Send off a report telling me if all files transferred or if they
failed via email
3.) If files failed, try to send again every minute for 3 minutes
4.) move files that were successfully ftp'd to a differant directory

Would this be difficult to do? Anyone give any examples?
Are there classes that will do this?

thanks.
Check out this link. This helped me in creating a ftp program. Some
sample source code is provided.

http://www.vbforums.com/showthread.php?t=468649

Hope this helps,

Steve
Jul 24 '08 #3
The other responses are much simpler and are the way to go, but I just
thought I'd share some code I did to download a file from an FTP server. I
believe it was written when I had just switched over to VB2005 from VB2003
and was unaware of the FTP class.

http://boycot.no-ip.com/vb/GETFTPSource.htm
"Jason" <pa*****@excite.comwrote in message
news:c3**********************************@m44g2000 hsc.googlegroups.com...
>I want to create a simple FTP program or service that would:

1.) FTP files in a specific directory to a remote ftp host.
2.) Send off a report telling me if all files transferred or if they
failed via email
3.) If files failed, try to send again every minute for 3 minutes
4.) move files that were successfully ftp'd to a differant directory

Would this be difficult to do? Anyone give any examples?
Are there classes that will do this?

thanks.
Jul 26 '08 #4

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

Similar topics

4
by: Bob | last post by:
Could anyone suggest me some examples/articles on creating a setup program in VS.NET that can install the assembly into the GAC? I have done some search and research myself and have some basic...
6
by: Jerry Spence1 | last post by:
Why doesn't the following work in my ASP program? I have imported ADOX I am trying to create a temporary database on the user's PC. The example is taken from Microsoft. Dim cat As Catalog =...
9
by: Rotzooi | last post by:
Hi, I have a VB.NET Service application that's running fine under the Local System account. But for configuration purposes I don't want to be dependent on modifying the registry manually or...
7
by: andym | last post by:
Dear All, I wish to have an ASP page that displays a predetermined date in the middle of a string. I wish this date to be set in a seperate control panel type page. I am hoping somebody could...
18
by: rdemyan via AccessMonster.com | last post by:
Here's my plan for creating nightly backups of the production back-end file (the IT staff in their infinite wisdom have prevented use of Windows Scheduler and users do not have administrative...
2
by: E C H (He of too much code) | last post by:
I am very weak in VB.NET, I am using VB.NET 2k5 Express. I have only created one program, and heck it was my first ;-) (URL below if it matters). I am trying to create a program that stays...
0
by: ehcy | last post by:
anyone plz help me.. i have here a simple program and i want to create an table cell.. what can i do?.. i will show you all my php code.. <?php $fc = "Check.txt"; $handle = fopen($fc,"r");...
0
by: DKn | last post by:
Hello All, I am having an ACtiveX Control developed in C#.Net 2.0 windows Control Library. I have tested this control.TCS through ACtiveX Control Test Container. It is working fine, But the...
15
by: Mike Driscoll | last post by:
Hi, I've had this niggling issue from time to time. I want to create a shortcut on the user's desktop to a website that specifically loads Firefox even if Firefox is not the default browser. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
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
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.