Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Ftp?

I Need A Simple FTP Comand like:
Ftp( , , )
[47 byte] By [Code_Writer] at [2007-11-11 7:26:11]
# 1 Re: Ftp?
Have you looked at the Internet Transfer Control included with most versions of VB6? IT has FTP capability, though it's not as simple as you would like. This Microsoft page: http://support.microsoft.com/default.aspx?scid=kb;en-us;173264 has instructions on using it with a username & password, and some sample code that may do all you need.

Another option is to shell out to the command-line FTP program built in to Windows. It's too difficult to use it for complex FTP transactions, but it may work for you.

If you want more power and control, you could access the Win32 Internet Application Programming Interface: http://www.vbip.com/wininet/wininet-ftp-command-01.asp.

-Andrew
Andrew Cushen at 2007-11-11 17:26:53 >
# 2 Re: Ftp?
2nd 1 lookes better then the 1st 1 but it dosn't work for me
Code_Writer at 2007-11-11 17:28:03 >