Solved

Retirev Unix fie using FTP or other protocols.

Posted on 2007-03-25
3
168 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

Suggested Solutions

Title # Comments Views Activity
What is "public object" in C#? 3 65
What can cause the styling on a .NET site to not be found? 17 29
Need to start a web service from Visual Studio 2015 Pro 2 35
Problem!!! 8 37
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 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