[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: STOR (put) Command Receiving Error



Hi Scott,

I do recall you asking for that and then I tried an command line FTP a little later and received an error so I pushed to the people on the server end trying to see if they had some permissions issues and so on, but no luck there.

I then went back to try it again today from a command line and it worked so I got back to troubleshooting and forgot about the debug.

So, here is the debug info. It looks like what I see in the FTPAPI log so I am still confused but maybe you will see something I do not.

Thanks again.

put /edi/work/TESTOUT.pgp "PGP ARP INBNDR GAFRARP"
>>> PORT 172,25,10,10,64,131
200 PORT command successful.
>>> STOR PGP ARP INBNDR GAFRARP
150 Opening ASCII mode data connection for PGP ARP INBNDR GAFRARP.
226- Transfer complete - acknowledgment message is pending.
226- Transfer complete - acknowledgment message is pending.
226 Transfer complete (Batch Number = 26995).
   965 bytes transferred in 0.005 seconds. Transfer rate 197.632 KB/sec.

On 10/19/2012 3:24 PM, Scott Klement wrote:
Hi Brian,

In order to make sense what's happening here, I need to see the actual
STOR command that's being sent from the FTP client to the FTP server. In
order to see that information, you need to run the FTP DEBUG command
prior to running your put.

In IBM's client, you do this:

    FTP RMTSYS(the-system)
   -- sign in as normal --
   Type:  DEBUG 1

Now do your put command.  It should show what the STOR command and it's
responses look like on your screen.  If FTPAPI sends the exact same STOR
command, then it should work.  Take a look at that, along with any other
commands sent after you type PUT, and post them here.

I mentioed this in a previous e-mail to you as well, but you didn't try
the DEBUG subcommand... makes me wonder if maybe I was too terse.  Hope
this explanation helps you see what I'm looking for.

Thanks!



On 10/19/2012 1:42 PM, Brian wrote:
Scott,

I was able to perform the following from a command line FTP session to
place the file on to the remote server successfully.

I am thinking there is something special going on with respect to the
double quotes they instructed me to put around the file, but I am not
sure.
-----
put /work/TESTOUT.pgp "PGP ARP INBNDR GAFRARP"
200 PORT command successful.
150 Opening ASCII mode data connection for PGP ARP INBNDR GAFRARP.
226- Transfer complete - acknowledgment message is pending.
226- Transfer complete - acknowledgment message is pending.
226 Transfer complete (Batch Number = 158785).
   965 bytes transferred in 0.007 seconds. Transfer rate 141.166 KB/sec.
-----

On 10/11/2012 8:42 PM, Scott Klement wrote:
I don't see anything wrong, here... Maybe you're not allowed to do
active FTP, and you need to do passive?  It's worth a try.

If that doesn't help, try doing it the way that works (from the IBM FTP
client) but use the 'debug' subcommand to enable the same sort of log
output.  Post that, and we'll see what's different between them.

On 10/11/2012 4:54 PM, Brian wrote:
With logging on, it looks like this in the job log:

1: > PASS **********
1: 230 Connect:Enterprise UNIX login ok, access restrictions apply.
1: > CWD /
1: 250 CWD to '/' successful
1: > TYPE I
1: 200 Type set to I.
1: > PORT 172,25,10,10,56,15
1: 200 PORT command successful.
1: > STOR PGP ARP INBNDR GAFRARP
1: 550 You are not allowed to issue this command

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------