Results 1 to 3 of 3

Thread: transfer text

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    99

    Post transfer text

    whats wrong with this program transfer nothing
    i have ftp server
    i think that i not connect to the other computer
    what i need please?


    Inet1.Protocol = icFTP
    Inet1.URL = "147.10.10.1" 'Text1.Text
    Inet1.UserName = Text2.Text
    Inet1.Password = Text3.Text

    Inet1.Execute , "PUT " & "c:\qbasic\ace.txt" & " " & \\mar\acepta.txt"

  2. #2
    Hyperactive Member TupacShakur's Avatar
    Join Date
    Mar 2002
    Location
    Da Land Of Da Heartless...
    Posts
    493

    Lightbulb Well,

    Well, i'd say the problem is in this line:
    Inet1.Execute , "PUT " & "c:\qbasic\ace.txt" & " " & \\mar\acepta.txt"
    First, i think u meant ... & "\mar\acepta.txt" and not \\mar\acepta.txt", right?
    Or maybe "\\mar\acepta.txt", i don't know, but i think "/mar/acepta.txt" is the right way to do it (like http://).
    Hope this is it
    "And Now I'm Lika Major Threat, Cause I Remind U Of The Things U Were Made To Forget!" - (2PAC)

    "Now They Label Me a Lunatic, Couldn't Care Less, Death or Success is What I Quest, Cause I'm Fearless!" - (2PAC)

    " There's a light at the end of every tunnel, just pray it's not a train!! "



    I am 100% addicted to Tupac. What about you?
    I am 24% addicted to Counterstrike. What about you?
    The #1 Tupac Fans Web Site | The Official Tupac Web Site

  3. #3
    Hyperactive Member
    Join Date
    Jan 2003
    Location
    Cape Cod, US
    Posts
    292
    Your 2nd filename isn't correctly wrapped in quotes. Try:

    Inet1.Execute , "PUT " & "c:\qbasic\ace.txt" & " " & "\\mar\acepta.txt"

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