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

CWD, CD, error message



Sender: "Richard B Baird" <rbaird@xxxxxxxxxxxxxxxxxxxxx>


Hey Scott,

i'm testing an ftp transfer from a bank, and i'm looking at the job log and
on a ftp_get operation, i'm getting these messages:

> SIZE tst.ff01.p0xxfile(+0)
501 command aborted -- FTP server not configured for SIZE
> TYPE I
200 Representation type is Image
> PORT 205,243,79,227,34,151
200 Port request OK.
> RETR tst.ff01.p0xxfile(+0)

The (+0) in the file name is the bank's syntax to find and retrieve the
'latest' version of the file (they use a seq% in the file .xxxx extention).

it looks like you send the size, type, port and retr commands within the
ftp_get function  what, if any, are the ramifications if the SIZE command
doesn't return anything? (as above)

the get command didn't work - but it very well could be because the latest
file (+0) wasn't available - but I won't be able to do a complete test for
a week, and i'm trying to cover all my bases.

thanks

rick

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------