Results 1 to 4 of 4

Thread: Sending a single file

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Liverpool UK
    Posts
    23

    Angry

    Does anyone know of a compact way (ideally 1 short Function) which would allow a text file to be sent to a server in an FTP manner. This probably uses Inet control, but is it possible to do it without the shear mass of code in the Inet Part 3 Tutorial?

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Do you want to FTP as part of a VB app? ASP app or just a one-off eg batch process from your pc?
    Mark
    -------------------

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Liverpool UK
    Posts
    23
    I want to use the FTP commands in a VB program.

  4. #4
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Using the Internet Transfer Control is easy enough
    have a look at the VB help files fro an example

    other options:
    wininet.dll api calls,
    use winsock,

    shell to the OS FTP.exe (probably the most powerfull but difficult to trap errors)

    there are lots of examples in this forum just do a quick search
    Mark
    -------------------

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