When I tried it manually from the IBMi I did not receive the 550 error
after the same CWD /0100-00430 command and then I was able to enter an
NLST command and see the files in the directory as shown in the screen
print below:
File Transfer Protocol
Previous FTP subcommands and messages:
CWD 0100-00430
250 CWD command successful.
CWD /0100-00430
250 CWD command successful.
NLST
227 Entering Passive Mode (10,0,1,1,7,51).
125 Data connection already open; Transfer starting.
01012007.AJL
05102014.AJL
19102014.AJL
23102014.AJL
23112014.AJL
226 Transfer complete.
Enter an FTP subcommand.
===>
What does not receiving the 550 error in manual entry point to?
Thanks,
Jerry
--------------------------------------------------
From: <ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, November 25, 2014 11:40 AM
To: <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Ftpapi Digest, Vol 97, Issue 15
Send Ftpapi mailing list submissions to
ftpapi@xxxxxxxxxxxxxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
http://scottklement.com/mailman/listinfo/ftpapi
or, via email, send a message with subject or body 'help' to
ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx
You can reach the person managing the list at
ftpapi-owner@xxxxxxxxxxxxxxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ftpapi digest..."
Today's Topics:
1. RE: TESTMIRIN getting FTP 550 Return Code (Mike Krebs)
----------------------------------------------------------------------
Message: 1
Date: Tue, 25 Nov 2014 10:40:01 -0600
From: Mike Krebs <mkrebs@xxxxxxxxxxxxxxxxxx>
To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: TESTMIRIN getting FTP 550 Return Code
Message-ID: <3DF08BA25872B644A1421B9F085B1829A0E5F392F3@xxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"
Did you try doing it manually from your IBMi? Do you get the same error?
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jerry Birch
Sent: Monday, November 24, 2014 7:30 PM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: TESTMIRIN getting FTP 550 Return Code
Below is the job log from a run of the TESTMIRIN program using our FTP
Server. The "/0100-00430" directory is an actual directory on the FTP
Server. Could a 550 return code be due to authority issues?
0: > TYPE A
0: 200 Type set to A.
0: > PORT 10,30,1,7,221,254
0: 200 PORT command successful.
0: > NLST
0: 150 Opening ASCII mode data connection for file list.
0: 226 Transfer complete.
0: > CWD 0100-00430
0: 250 CWD command successful.
0: > CWD /0100-00430
0: 550 /0100-00430: The system cannot find the path specified.
0: > QUIT
0: 221
Because when I log in to the FTP Server from a DOS prompt with the
same user
profile and run a CD to that directory it says the command is
successful as
seen below.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\>ftp x.x.x.x
Connected to x.x.x.x.
220 Microsoft FTP Service
User (x.x.x.x:(none)): aaaaa@dddddddd
331 Password required for aaaaa@dddddddd
Password:
230 User aaaaa@dddddddd logged in.
ftp> cd /0100-00430
250 CWD command successful.
ftp> pwd
257 "/0100-00430" is current directory.
ftp>
Thanks for any guidance,
Jerry