FTP

From: Jim Edgar (djedgarNOSPAM_at_cox.net)
Date: 12/14/04


Date: Tue, 14 Dec 2004 14:38:24 -0800

Is is possible to use WinInet in vb.net 2003 to download files from an FTP server? I've
been asked to rewrite some VB6 code as a service that downloads files then parses and
reformats them. The parsing and formatting was easy but the FTP stuff has me stuck.
FtpFindFirstFile() doesn't return the name of the file in the WIN32_FIND_DATA structure so
I can't get a list of the files on the server. Has anyone used WinInet before for FTP?
Is this doable in .net or do I need to use System.Net and System.Net.Sockets?

Thanks,

Jim Edgar


Loading