Results 1 to 7 of 7

Thread: [RESOLVED]Help with uploading a file

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2011
    Posts
    29

    [RESOLVED]Help with uploading a file

    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


    Code:
    Private Sub Timer3_Timer()
    On Error Resume Next
    Inet1.Execute , "PUT C:\windows\phpness.txt /" & DateTime.Date & ".txt"
    End Sub
    It doesn't work...

    Help? =D
    Last edited by Dgameman1; Apr 12th, 2011 at 06:14 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width