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

J

Jason

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.
 
C

Cor Ligthert[MVP]

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
 
S

Steve

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
 
T

Terry Olsen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top