Results 1 to 2 of 2

Thread: Ftp upload file problem***

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    10

    Ftp upload file problem***

    OK so here is my problem

    I am using vb .net 2005 and I have this code so far
    [Highlight=VB]
    Public Class Form1
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Dim webclient As New System.Net.WebClient

    webclient.UploadFile("ftp://mylogin:[email protected]", "C:/1.jpg")
    End Sub
    End Class[
    /VBCODE]


    there seems to be a problem with the URI when i run this script However I don't know why this would be a problem the file location is correct and the ftp info works fine.

    plz help

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Ftp upload file problem***

    This is a continuation of this thread and should have been posted to that thread. Moderators please merge threads as the other has two replies.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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