Results 1 to 7 of 7

Thread: VB/FTP

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    69
    anyone have any experience with
    downloading files from ftp within vb??

  2. #2
    Hyperactive Member
    Join Date
    May 2000
    Location
    Or
    Posts
    316
    There is a good example here.

    Hope this helps.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    69
    sweet
    thanks i'll take a look

  4. #4
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Code:
    With Inet1
        .Cancel
        .Protocol = icFTP
        .url = "123.123.123.123"
        .UserName = "me"
        .Password = "xxxx"
    End With
    'upload a file
    Inet1.Execute , "PUT C:\test.txt test.txt"
    'download file and download it to C:\test.txt
    Inet1.Execute , "Get test.txt C:\test.txt"
    Hope that helps,
    D!m
    Dim

  5. #5
    Hyperactive Member
    Join Date
    Sep 2000
    Location
    NJ, USA
    Posts
    326
    How would you incorporate the Inet control in the program to make that work?

    Or is Inet already in there.

    This would be an awesome program for a friend of mine who wants to upload pics VIA FTP, but isn't totally clued in on how to do it.

  6. #6
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    You would have to go "Project/Components/ and select "Microsoft Internet Transfer Control" and click on. Then double click on it in the toolbar and it will be added to your form. Then simply paste the code in.


    Gl,
    D!m
    Dim

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    69
    i need this to be in ascii any ideas
    it seems to be in binary

    thanks jason

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