![]() |
| |||||||
| Sponsored Links |
![]() |
| | LinkBack (1) | Thread Tools | Display Modes |
#1
| ||||
| ||||
| I'm looking for a FREE FTP library for .NET. I've found a few that either (a) cost money or (b) stink. All I need is to upload a single file, once per month to MVS, and about the only thing standing in my way of automating this is a .NET FTP class library -- that I really don't want to write myself.
__________________ Wolffy ------------------------ Opinions expressed are my own and do not necessity reflect those of any sane person. Any code provided is intended to be an example and is provided AS IS. Rework for your specific environment may be required. Void where prohibited by law. Not valid in California. Your mileage may vary. |
| Sponsored Links |
|
#2
| ||||
| ||||
| I'm unable to find much that meets your requirements, but maybe you can poke around at this for a while: CodeProject: FTP component written with fully managed code. Free source code and programming help I have a feeling you might end up either writing your own or rewriting someone elses script, however...
__________________ jmurrayhead If you agree with me... click the icon! If my post solved your problem, click the button in the lower right-hand corner of the post.If you like it here...throw us a few bones to help support us. Join our Folding team: DeveloperBarn Folding |
|
#3
| ||||
| ||||
| Yeah, I looked at that one and put it into my (b) category. It seems to work, but the documentation is practically non-existent. I just located another possible, with source code, that I'm stepping through now. If it works, I'll post back the link. |
|
#4
| ||||
| ||||
| Quote:
If you do end up writing your own, you could post in the Code Samples forum for free |
|
#5
| ||||
| ||||
| Well, I may be SOL here. While I think I could manage to get this working using FtpWebRequest (tho some blog entries I've found say this can't be done to MVS or OS/400), I need to issue the QUOTE SITE command, which doesn't appear to be supported by FtpWebRequest. Bloody Heck. I did see an idea to run FTP in it's own process -- tho at the moment I'm considering a batch file and stuffing the FTP command into the console buffer -- ah, welcome to the 1980's. |
|
#6
| ||||
| ||||
| I was about ready to knuckle down and write something, but took one last look around the net. I came across an open source FTP .NET library here: .NET FTP, FTP .NET, FTP C#, FTP VB, C# FTP, VB FTP that is well documented. I've just now downloaded the source, and will see if it's a good as it first appears to be, |
| The Following User Says Thank You to Wolffy For This Useful Post: | ||
jmurrayhead (May 28th, 2008) | ||
|
#7
| ||||
| ||||
| I managed to get a clean compile of this library after only about 20 minutes. I had to make only two minor fixes: (a) OS/400 support didn't seem to be included. Since I don't care about OS/400, I just removed the references to it. (b) There were a few deprecated methods from .NET 1.1 that could easily be replaced with .NET 2.0 methods (1-1 replacement in each case). There was some conditional compilation in there for 2.0, but it wasn't complete. Once I got the clean compile, I included what I needed in my application, and got it to work first time! Total time spent: about 90 minutes. Highly Recommended |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| class name is ambiguous | richyrich | .Net Development | 11 | August 12th, 2008 11:11 AM |
| Class library | Shem | .Net Development | 11 | May 22nd, 2008 07:01 AM |
LinkBacks (?)
LinkBack to this Thread: http://www.developerbarn.com/net-development/223-ftp-class-library.html | ||||
| Posted By | For | Type | Date | |
| Database Management » Blog Archive » FTP Class Library? | This thread | Pingback | May 27th, 2008 03:25 PM | |