Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi friends,

i am trying to access files and folders from any FTP site using its corresponding port.

for example

Input: ftp://dreamincode:21/forums/topic/77912-ftp-download-delete/

from the above FTP site, i need to parse that site and accessing the file which is avail in forums then check it out topic. so i need to access all files and folders till end of the FTP site URL.

files may be

*.log or *.doc like that..

I don't know how to do it, any one can help me to complete this...

thanks in advance,

regards,

sasi
Posted
Updated 20-Jul-11 21:30pm
v2

Hi,

Using FileZilla or CuteFTP
 
Share this answer
 
Comments
ramuksasi 21-Jul-11 3:29am    
i am not meant to use existing one. i need to add such functionality into my project. Is there any reference for that...
Sergey Alexandrovich Kryukov 21-Jul-11 12:49pm    
In your project, do you need to act as FTP server or client? Do you have other networking/remoting in your application; in case you do, do you need exactly FTP? Could be some custom method(s) for file exchange.
--SA
Check this[^]


And


This[^]
 
Share this answer
 
Please see my comment to your comment to the solution by Syed Salman Raza — it's not quite clear what do you want.

This is the implementation of FTP server in C#: http://www.c-sharpcorner.com/UploadFile/psingh/FTPServerinCSharp11162005015958AM/FTPServerinCSharp.aspx[^].

If you only need to implement FTP client operations, this is very simple, use the class System.Net.FtpWebRequest, see help page with code sample: http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx[^].

Optionally, if you already have some connectivity and program for both client and server side, you can simply add some custom file transfer method(s) to your network/remoting/WCF interfaces.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900