Results 1 to 5 of 5

Thread: download using FTP?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    297

    download using FTP?

    hey im working on a personal projrect and I was think thinking something like this...

    there are many checkboxes and each of them is a different file to be downloaded... so lets say checbox is is winrar, check box 2 is msn and so on...

    So when I click on checkbox1 and hit the downlaod button in the form it will downlaod that file... the file is uploaded on a ftp site...

    I saw some were something called getFTPfile or something like that... so I was wondering if you gus could help me... and also I tried that case command with no success

    Thnx

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: download using FTP?

    If you want to use quick-and-dirty way then use INET (Microsoft Internet Control) - go to Components and add it to your project first. Search forum for INet - there are plenty of samples posted.
    If you want to use more robust Windows API then here are few samples I'd recommend:
    Sample 1
    Sample 2

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    297

    Re: download using FTP?

    sorry but im not abled to use any of those you told me... is there another way? Like a easyer way? I keep getting errors when I try to use the one you told me.... Thnx

  4. #4

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    297

    Re: download using FTP?

    ok I got this code here... its simple but good

    Code:
    Private Declare Function DoFileDownload Lib "shdocvw" _
        (ByVal lpszFile As String) As Long
    
    
    Private Sub Command1_Click()
       
       Dim sDownload As String
       
       sDownload = StrConv(Text1.Text, vbUnicode)
       Call DoFileDownload(sDownload)
       
    End Sub
    but when I press command1(download) the ie7 download appears, I dont want that I was hoping for like a progress bar to tell when is done and when is starting... Thnx again...

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