|
-
Jun 7th, 2002, 05:06 AM
#1
Thread Starter
Junior Member
Replacement for Winsock?!?
A program that I'm writing at the moment needs to connect to FTP servers. When connected, I change to the 'specified' directory and then I need to look for files that meet a certain file criterea. Any files found that meet this criterea are to be moved off of the server (using get and del commands) to a temporary directory before I connect to another FTP server and move the files to a specified directory on there.
Apparently we shouldn't use the Winsock controls in VB.Net bacause of performance issues with wrapped COM components.
I assume there is a real easy way of doing what I want within the .Net Fx(?!?)
Unfortunately all I can find in the online documentation is references to the HINTERNET handle with no real life example of how to implement it and besides, this looks far more complex than the Winsock control!
Will the WebClient control give me all the functionality i need? I notice that the WebClient control allows me to upload and download files, but I can't see any way of deleting files.
Or maybe somebody knows an even easier way?!?
Help, please!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|