473,394 Members | 1,696 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,394 software developers and data experts.

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 1413
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
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...

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.