How to copy file from Local Machine to FTP Server.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • premMS143
    New Member
    • Nov 2008
    • 75

    How to copy file from Local Machine to FTP Server.

    Hello,
    I've created an application using VB6.0.
    I am copying the file(s) of different types from one drive to another within the same system.

    But I want to copy local file to FTP Server.
    Could anybody help me., please.

    Thanks in advance.
    Prem
    Last edited by acoder; Dec 13 '08, 11:13 AM. Reason: Removed email
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    Hi Prem! Welcome to bytes.com!

    It's great to have you here! For VB Questions, please check our Visual Basic Forum.

    When you post, please always keep to the Posting Guidelines and if you should post code, please post it in [code] ... [/code] tags.

    Otherwise, I'll just wish you the best and hope you enjoy being part of bytes.com!

    Greetings,
    Nepomuk

    Comment

    • 9815402440
      New Member
      • Oct 2007
      • 180

      #3
      hi
      add in inet control in the form and name it inetFTP
      use following code to upload file

      inetFTP.URL = "ftp://www.abc.com"
      inetFTP.UserNam e = "username"
      inetFTP.Passwor d = "password"
      inetFTP.Execute , "Put c:/sourcefile.txt sourcefile.txt"

      regards
      manpreet singh dhillon hoshiarpur

      Comment

      • premMS143
        New Member
        • Nov 2008
        • 75

        #4
        Hello Sir, [manpreet singh dhillon hoshiarpur]

        Thanks for your reply.

        I will try it.

        Wish you happy new year in advance

        Comment

        Working...