Link to home
Start Free TrialLog in
Avatar of khacharn
khacharn

asked on

FTP QUESTION..

hi all
I have an ftp server from where in d\need to bring certain files ...
Now the files in the directory on the FTP Server are being constantly added with the namesz of the file being
1.ind
2.ind
3.ind
and so on

My question is that i wana download the latest .ind file from the FTP Server everytime i log on..
That si if i am connected to the server
i woul;d like to download the 3.ind if it is the latest file..

It would be great if someone could provide asome Vb Code..

Please Reply asap
Regards
Nitin
Avatar of gcs001
gcs001
Flag of United Kingdom of Great Britain and Northern Ireland image

Are you using the Inet control or FTP API function calls?
Avatar of khacharn
khacharn

ASKER

I am using the internet transfer controls.
regrads
Nitin
Hi,

what u have asked is there in the net.

i hope it works out......

its an excellent sample code uploading / downloading from /to ftp
http://www.mvps.org/vbnet/code/network/ftplist.htm

njoy ftp'ing.......
cheers
balu
(*_*)
ASKER CERTIFIED SOLUTION
Avatar of gcs001
gcs001
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanx All for you comments and answers..
regards
Nitin