JMAC
unread,Mar 2, 2011, 1:35:40 PM3/2/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Bots Open Source EDI Translator
I am using BOTS 2.02, amd trying to configure bots to send X12 files
via FTP to our VAN provider.
It seems the VAN's ftp server can only accept limited FTP commands,
and I got the following error messages in BOTS:
-------------------------
Traceback (most recent call last):
File "/opt/Python-2.7/lib/python2.7/site-packages/bots/
communication.py", line 877, in outcommunicate
self.session.storlines(mode + tofilename, fromfile)
File "/opt/Python-2.7/lib/python2.7/ftplib.py", line 476, in
storlines
conn = self.transfercmd(cmd)
File "/opt/Python-2.7/lib/python2.7/ftplib.py", line 361, in
transfercmd
return self.ntransfercmd(cmd, rest)[0]
File "/opt/Python-2.7/lib/python2.7/ftplib.py", line 326, in
ntransfercmd
host, port = self.makepasv()
File "/opt/Python-2.7/lib/python2.7/ftplib.py", line 304, in
makepasv
host, port = parse227(self.sendcmd('PASV'))
File "/opt/Python-2.7/lib/python2.7/ftplib.py", line 244, in sendcmd
return self.getresp()
File "/opt/Python-2.7/lib/python2.7/ftplib.py", line 219, in getresp
raise error_perm, resp
error_perm: 502 Command not implemented.
-------------------------
I tested with my own FTP server and it works fine (meaning is not my
setting problem).
Can somebody help to identify which FTP command failed, and how can I
disable it?
Thanks in advance,
John Chen
==========