URGENT - I need some advice re Inet.Execute VB6

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Max Power

    #1

    URGENT - I need some advice re Inet.Execute VB6

    Hi All

    I am coding a small app in that swaps specific files between a client and
    server. All files and locations are set at both sides.

    I want my app to show a file list, based on the file names, from the local
    and remote machine.....

    Local is not a problem and works OK. but I am trying ::
    Form1.getFile.F ileName = Inet1.Execute(" ftp://ftp.server.net" , "DIR") and I
    keep getting a Type Mismatch error.

    Any help would be appreciated.... I have to get this finished by Tuesday
    !!!!

    TIA

    Max


  • Jan Hyde

    #2
    Re: URGENT - I need some advice re Inet.Execute VB6

    "Max Power" <max.power@exce lence.co.uk>'s wild thoughts were
    released on Sun, 30 Apr 2006 16:34:00 +0100 bearing the
    following fruit:
    [color=blue]
    >Hi All
    >
    >I am coding a small app in that swaps specific files between a client and
    >server. All files and locations are set at both sides.
    >
    >I want my app to show a file list, based on the file names, from the local
    >and remote machine.....
    >
    >Local is not a problem and works OK. but I am trying ::
    >Form1.getFile. FileName = Inet1.Execute(" ftp://ftp.server.net" , "DIR") and I
    >keep getting a Type Mismatch error.
    >
    >Any help would be appreciated.... I have to get this finished by Tuesday
    >!!!!
    >[/color]
    Well, it's Tuesday so I guess it's too late now huh.

    Just some advice on posting, newsgroups are really not the
    place for urgent help as it can take a few days to answer
    some questions.

    Trying to draw attention to you post by using capitals or
    URGENT etc in the subject line is considered rudem and just
    tends to annoy people and is more likely to result in less
    people looking at your problem.



    Jan Hyde (VB MVP)

    --
    Coup de Gras: A Lawnmower (Fred)

    Comment

    • Dean Earley

      #3
      Re: URGENT - I need some advice re Inet.Execute VB6

      Max Power wrote:[color=blue]
      > Hi All
      >
      > I am coding a small app in that swaps specific files between a client and
      > server. All files and locations are set at both sides.
      >
      > I want my app to show a file list, based on the file names, from the local
      > and remote machine.....
      >
      > Local is not a problem and works OK. but I am trying ::
      > Form1.getFile.F ileName = Inet1.Execute(" ftp://ftp.server.net" , "DIR") and I
      > keep getting a Type Mismatch error.
      >
      > Any help would be appreciated.... I have to get this finished by Tuesday
      > !!!![/color]

      Also late, but .Execute() doesn't actually return anything...
      You will most likely want to use .OpenURL() instead.

      --
      Dean Earley (dean.earley@ic ode.co.uk)
      i-Catcher Development Team

      iCode Systems

      Comment

      Working...