I am sending FTP EDI X12 856's documents to many customers using the FTP adapter "as is" and have had no problems in close to 4 years....
I am know for the first time dealing with a VAN and getting an FTP error. It appears that the file is received any way but the error causes a suspended orch and I have an auto re-try on suspended orchestrations which now sends duplicate files to the customer.
This the FTP log: the last line causes the error, this all adapter code.
< 230 User logged in, proceed.
> PWD
< 257 "/" is current directory.
> PWD
< 257 "/" is current directory.
> PWD
< 257 "/" is current directory.
> CWD /inbound/
< 250 Directory changed to /inbound
> PWD
< 257 "/inbound" is current directory.
> TYPE A
< 200 Command TYPE okay.
> PORT 10,44,10,42,242,0
< 200 PORT command successful.
> STOR {169cad65-c108-486c-b3e1-edd5b8f05fea}
< 150 File status okay; about to open data connection.
< 226 Transfer complete.
> RNFR {169cad65-c108-486c-b3e1-edd5b8f05fea}
< 350 Requested file action pending further information.
> RNTO /inbound/{1DA6D1FC-029A-4A74-942C-20AFBD6C9DB0}.EDI
< 553 Can't rename file.
> QUIT
< 221 Goodbye.
This is the error I see in the suspended transaction: what I think is weird is that it implies permission issues but the file is sent anyway.
Please verify the destination folder has the correct permissions. Inner Exception details: "The file name is not allowed on the FTP server. ".