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

Re: STOR (put) Command Receiving Error



Hi Brian,

I'm not clear on what you've already tried, but the expected syntax in FTPAPI would be:

    rc = FTP_put( sess
                : 'PGP ARP INBNDR ABCXYZZ'
                : '/path/to/your/localfile' );

Does that help?


On 10/10/2012 1:06 PM, Brian wrote:
I have an odd issue I am trying to figure out. We are trying to transfer a file to Bank of America and receive an error when trying to deliver the file. When using normal command line FTP, it works.

Here are some details:

The file we are delivering is on the IFS. The target file name for the receiving system is a bit odd since it is in the format of:

"PGP ARP INBNDR ABCXYZZ"

The instructions from Bank of America state we should drop off the file with a put command like:

PUT localfile "PGP ARP INBNDR ABCXYZZ"

When doing so from a command line FTP it works. I am also able to put the file using this (from a command line FTP):

STOR localfile "PGP ARP INBNDR ABCXYZZ"

When trying to do this same PUT operation from FTPAPI though, I receive the following error message:

"550 You are not allowed to issue this command"

I assume BOA has their server very restricted as to what commands you can use so perhaps FTPAPI is using a command they do not like and thus the error message?

I've tried various format of the target file name too, like:

PGP ARP INBNDR ABCXYZZ
'PGP ARP INBNDR ABCXYZZ'
"PGP ARP INBNDR ABCXYZZ"

Same error message in all cases. I even tried just making the file name "PGP" (no quotes) thinking the spaces were causing issues, but received the same error message.

Not sure what the issue could be.

Any ideas from the list?

Thanks much.
-----------------------------------------------------------------------
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
-----------------------------------------------------------------------