470,862 Members | 1,842 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,862 developers. It's quick & easy.

problem with schedules task

Hi,
I created this simple app in vb.net which is suppose to ftp a file. The app
is working. I then tries to use Schedule Task in windows to have it run at a
specified time. The Schedule Task manager shows the file as running but
nothing is being ftp. It looks like it's stuck. Can you tell me where I am
going wrong

Imports System

Public Class Form1

...

Sub New()
InitializeComponent()

UploadFileToServer()
End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

End Sub

Private Sub UploadFileToServer()

_ftp.Upload("c:\test.txt","/file/test.txt")

_ftp = Nothing

Me.Close()
End Sub

End Class

Apr 28 '06 #1
0 827

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by RahimAsif | last post: by
13 posts views Thread by Lee Newson | last post: by
15 posts views Thread by lucky | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.