473,320 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Ftp Client .NET w/ WinInet.dll or WebRequest Class

I am attempting to write an Ftp Client to send a quote
command prior to a file upload. I would like to use the
WinInet.dll but it seems to hang when I call the
FtpCommand method from C# or it returns a false response
even though the command was successful.

I have also attempted to inherit from the WebRequest and
WebResponse classes based on examples I have found on the
internet but it hangs when the socket goes to read
whether the file was downloaded successfully.

Any help with either solution would be greatly
appreciated.

Thanks,
Katie
Jul 21 '05 #1
1 4938
Hey Katie,
check out
http://www.csharphelp.com/archives/archive9.html

or
http://www.gotdotnet.com/community/u...aspx?query=ftp

--
Dino Chiesa
Microsoft Developer Division
d i n o c h @ o n l i n e . m i c r o s o f t . c o m
"Katie" <kh********@douglas-danielle.com> wrote in message
news:00****************************@phx.gbl...
I am attempting to write an Ftp Client to send a quote
command prior to a file upload. I would like to use the
WinInet.dll but it seems to hang when I call the
FtpCommand method from C# or it returns a false response
even though the command was successful.

I have also attempted to inherit from the WebRequest and
WebResponse classes based on examples I have found on the
internet but it hangs when the socket goes to read
whether the file was downloaded successfully.

Any help with either solution would be greatly
appreciated.

Thanks,
Katie

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: EMonaco | last post by:
Is there any way to programmatically select a particular client certificate and associate it with an HttpWebRequest instance? I know using WinINet this was possible. Erin.
5
by: Phil Ruelle | last post by:
Hi, I've got an FTP client written in C# which works fine when directly accessing the internet. However I need to update it so that it can FTP through an ISA proxy server. I have downloaded a...
6
by: dev | last post by:
Hi to all, I am a sofware developer with few months experience in C#. I worked in C/C++ and, time ago, developed an application to receive a video-stream (MJPEG) via http. Simply I used the...
4
by: Matt Frame | last post by:
I am working on a special ASP.Net application that receives files from customers. The connection is made via HTTPS and the client sends the file as a POST to my ASP.Net listener. All of this...
0
by: Ram P. Dash | last post by:
Hi: I had the following client proxy code autogenerated: Code I: public bool ProcessCondensateFile(CondensateFileContainer condensateFileContainer) { object results =...
0
by: Sjaakie Helderhorst | last post by:
Hi all, I'm trying to create a class which handles FTP. Knowing little of classes I'm having some trouble making things work. Also having trouble finding the meaning of some error-codes. The code...
1
by: Katie | last post by:
I am attempting to write an Ftp Client to send a quote command prior to a file upload. I would like to use the WinInet.dll but it seems to hang when I call the FtpCommand method from C# or it...
0
by: daryl | last post by:
I have a situation where a webservice has worked fine in a development environment, but when placed into production has stopped working (although at one time it was). Using WSE 2.0/DIME, we...
2
by: master | last post by:
Hi, I was using the FtpWebRequest class in .NET 2.0 for an FTP transport over SSL. It is working well, however the new requirement for my application is to tranfer files via an HTTP proxy. The...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.