sending a text node to a service

I have a service that accepts a text node and parses it with a flatfile schema. I wish to invoke this service in a variety of ways, such as http, ftp, and smtp. I am having trouble invoking the service with pub.client.ftp (it works fine with pub.client.http and pub.client:xxx).

The following service works ok
Service: ladson_flatfile.myPO:sendFFnodeViaFtp2
pub.client.ftp:login (localhost)
pub.client.ftp:cd (ns)
pub.client.ftp:cd (ladson_flatfile)
pub.client.ftp:cd (myPO)
pub.client.ftp:cd (runSchema1WithNode)
pub.client.ftp:dir
pub.client.ftp:put (PO1.txt)
pub.client.ftp:get (PO1.txt.out)
pub.client.ftp:logout

The following service fails
ladson_flatfile.myPO:sendFFnodeViaFtp1_fails
pub.client.ftp
serverhost=localhost
serverport=8021
username=Administrator
password=manage
command=put
dirpath=ns/ladson_flatfile/myPO
transfermode=ascii
transfertype=null
localfile=C:\webMethods6\IntegrationServer\packages\ladson_flatfile\pub\PO1.txt
remotefile=ns/ladson_flatfile/myPO/runSchema1WithNode ???
content=null
encodeing=null
timeout=null
putunique=null
secure=null
cleanlinefeeds=null

Resulting error message
Could not run ‘sendFFnodeViaFtp1_fails’
com.wm.app.b2b.server.ServiceException: 553
‘ns/ladson_flatfile/myPO/runSchema1WithNode’: cannot write

I believe the problem is in formulating the correct “remotefile” parameter

Any suggestions

After some experimentation I got the following to work:

ladson_flatfile.myPO:sendFFnodeViaFtp1_fails
pub.client.ftp
serverhost=localhost
serverport=8021
username=Administrator
password=manage
command=put
dirpath=ns/ladson_flatfile/myPO/runSchema1WithNode
transfermode=ascii
transfertype=null
localfile=C:\webMethods6\IntegrationServer\packages\ladson_flatfile\pub\PO1.txt
remotefile=junk.txt
content=null
encodeing=null
timeout=null
putunique=null
secure=null
cleanlinefeeds=null