473,473 Members | 2,016 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Send PORT command to ftp server that does not support PASV command

My compnay recently bought an egg scale from Holland that sorts and grades
eggs and writes the data to a .csv file that is stored on an ftp server that
is part of the scale itself. This server does not accept PASV commands. So,
I have not been able to programmatically download files for insertion into
our database. I have combed the internet looking for a solution. Can
someone recommend a KB article, a white paper or a book? The application is
written in .Net, and the only documentation I can find is written for ftp
servers that accept PASV commands, or is written for VB6 aps.

Help!
Aug 10 '05 #1
3 1414
Hi,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need some code sample to open an
ftp connection in active mode and download files. If there is any
misunderstanding, please feel free to let me know.

Here I found some code samples for you. HTH

http://www.experts-exchange.com/Prog...ges/Dot_Net/Q_
21324078.html
http://www.codeproject.com/csharp/C__FTP_client.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Aug 11 '05 #2
Hi Kevin,

Your understanding is correct. I will look at your example now. Thank you
for responding!

Best,

Caroline

"Kevin Yu [MSFT]" wrote:
Hi,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need some code sample to open an
ftp connection in active mode and download files. If there is any
misunderstanding, please feel free to let me know.

Here I found some code samples for you. HTH

http://www.experts-exchange.com/Prog...ges/Dot_Net/Q_
21324078.html
http://www.codeproject.com/csharp/C__FTP_client.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Aug 11 '05 #3
You're welcome, Caroline.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Aug 12 '05 #4

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

Similar topics

5
by: G520 | last post by:
Hi I have been getting statistical rapports from a machine via a telnet server. Until now it has been done manually. However I want to automate the proccess, and scedule a PHP script to run...
0
by: Keith | last post by:
My problem is that I have created a socket with a local IP address for FTP commands, but to get file info like using the LIST command you need to establish a new IP address to connect to. One way...
4
by: CK | last post by:
Hi all, I know this question is stupid. But i need some advice for this. I am trying to develop a website, which will allow the user send to order form to the admin email. I am planning to use the...
1
by: StevenBarnes | last post by:
I need to have some .Net code be able to send Email using my ISP's SMTP server. I found some articles on how to use the MAIL FROM: and RCPT TO: commands that you can stream to a tcp connection on...
4
by: Caroline | last post by:
My compnay recently bought an egg scale from Holland that sorts and grades eggs and writes the data to a .csv file that is stored on an ftp server that is part of the scale itself. This server...
25
by: bmearns | last post by:
Is it possible to specify which port to use as the outbound port on a connection? I have the IP address and port number for the computer I'm trying to connect to (not listening for), but it's...
16
by: =?Utf-8?B?Q2hlZg==?= | last post by:
I can use outlook2003 to send email,but I cann't use this code below to send email. Please help me to test this code and instruct me how to solve this problem in detail. software...
0
by: Rob Latour | last post by:
When trying to use the dot net ftp facility I'm getting the following error: The server returned an address in response to the PASV command that is different than the address to which the FTP...
14
by: Warren Tang | last post by:
Hi I am using the mail function to send a mail like this: $b = mail("my_real_email_address@gmail.com", "Hello from PHP", "Hi, finally sent an email successfully"); But it failed. Could you...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.