Solved

Retirev Unix fie using FTP or other protocols.

Posted on 2007-03-25
3
165 Views
Last Modified: 2010-04-16
I need to retrieve and open a file stored on a Unix server on a network as a delimited text file via FTP or other protocol.  I'm using VS2005, .net 2.0 and C#. Can someone point out where I can find sample code on how to get this done?  Thanks.
0
Comment
Question by:lapucca
3 Comments
 
LVL 3

Accepted Solution

by:
kingtam2000 earned 500 total points
ID: 18790196
There's some code for downloading a file from FTP in C# on MSDN help:
http://msdn2.microsoft.com/en-us/library/ms229711.aspx

Alternatively, if HTTP were to be used, there's a smaller way to do it here, although it appears not to work with FTP:
http://www.csharphelp.com/archives2/archive454.html
0
 
LVL 3

Expert Comment

by:Nico
ID: 18806752
You could take a look at this sample FTP client @ codeproject: http://www.codeproject.com/vb/net/FtpClient.asp
0
 

Author Comment

by:lapucca
ID: 18812742
Thanks derk for your input but that's the same type of code pointed out by king except his is C# and it's what I need.  Thank you though.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question