473,396 Members | 2,151 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,396 software developers and data experts.

FTP failure: 550 Failed to open file

Hello,
I am having problem to download files via a bat script from an ftp server.
When I do it manually (typing the commands into the ftp prog) it works. However this is no option as there are many files to download regularly.

The page advice me to use PASV, but I am not sure how to specify it. I've looked at some discussion group's round about, and they that you should enter 'passive' or 'PASV' as a command after logon. But when I do it, ftp replies that it is an unknown command.
I am working on an xp professional, Version 2002, Service Pack 2.

This is a paste of my script:
ftp -d -s:ftp_komd.txt -a -A www.xxx.com
connected to www.xxx.com
220 Authorized users only. All activity may be monitored and reported.
---> USER anonymous
331 Please specify the password.
---> PASS Me@here
230 Login successful.
Anonymous logon completed for Me@here
ftp> cd /data/
---> CWD /data/
250 Directory successfully changed.
ftp> lcd C:\Test\Data
Local dir now C:\Test\Data.
ftp> get Test.txt
---> PORT 0,0,0,0,5,85
200 PORT command successful. Consider using PASV.
---> RETR Test.txt
550 Failed to open file.

Any help appreciated.
Kurt
Jul 15 '07 #1
0 13028

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: x2164 | last post by:
hi all, Linux 2.4.28 Glibc 2.2.5 gcc 2.95.3 I'm new to Python. I've compiled Python 2.4 from tar file.
2
by: nt | last post by:
I am having a problem with a regular backup of an SQL Server (MSDE 2000) database to a local drive. I initiate the backup once a week, by issuing the required T-SQL, via ADO. In this case, the...
1
by: rh | last post by:
Executing the script given below Opera, Netscape and Mozilla successfully load the js file in both the "main" and "test" window. However, while IE 6 manages to load OK in "main", it produces the...
5
by: Alexandros Frantzis | last post by:
Hello! Is there a standard way to find the reason a file stream open failed (eg file doesn't exist, access rights)? Thanks.
2
by: MLH | last post by:
I cut a mail function off the m'soft site. Has always worked. However, I would like to include error codes returned by the sendmail Fn and be able to understand what they mean. I had my first...
0
by: Hernan Garber | last post by:
Hi, Attached, the installation log. Win 2k Server SP3 IE6SP1/SQL Server Installed Thanks Setup.exe: Setup.exe: ========== Logging started ==========
2
by: Kups | last post by:
Hi! I have a service and client that use WSE 2.0 and soap.tcp. Both are behind firewalls. Client connects to a public machine's tcp port which is redirected to service. If I send a request ...
4
by: Connie | last post by:
I have a query that takes blobs that have been created within the last day out of sql server and places them on a disk drive. The query is a stored proc which runs in a DTS job. The job shows...
1
by: =?Utf-8?B?RVRG?= | last post by:
Hello, I have been attempting to install the above on a fully patched Windows 2000 server. I have followed the "Step by Step Guide to Getting Started with Microsoft Windows Server Update...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
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,...

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.