Click to See Complete Forum and Search --> : Sending a single file
xensoft
Feb 5th, 2001, 08:35 AM
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?
Mark Sreeves
Feb 5th, 2001, 09:25 AM
Do you want to FTP as part of a VB app? ASP app or just a one-off eg batch process from your pc?
xensoft
Feb 6th, 2001, 03:53 AM
I want to use the FTP commands in a VB program.
Mark Sreeves
Feb 6th, 2001, 06:58 AM
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
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.