I now see the problem but I don’t know the solution. When the ftp thread logs in, it correctly changes directory to the location of the file. When it re-logs in to delete the file, it does not change directory and cannot find the file to delete. Below are log excerpts for the initial login and the re-login to delete the file, We are on Cloverleaf 5.85
USER *********
< 331 Password required for *********.
> PASS *******
< 230 User ******* logged in.
> PWD
< 257 "/" is current directory.
* Entry path is ‘/’
> CWD MPI-TEST
< 250 CWD command successful.> EPSV
* Connect data stream passively
< 500 'EPSV': command not understood
* disabling EPSV usage
> PASV
< 227 Entering Passive Mode (10,1,204,141,193,10).
* Trying ***********… * connected
* Connecting to ********* (*********) port 49418
> TYPE A
< 200 Type set to A.
> nlst
< 125 Data connection already open; Transfer starting.
* Maxdownload = -1
* Remembering we are in dir “MPI-TEST/”
< 226 Transfer complete.
* Connection #0 to host ************ left intact
Relogin in to delete file – does not change to correct directory path
Connection #0 seems to be dead!
* Send failure: Broken pipe
* Closing connection #0
* About to connect() to *********** port 21 (#0)
* Trying **********… * connected
* Connected to *********** port 21 (#0)
< 220 Microsoft FTP Service
> USER *********
< 331 Password required for **********.
> PASS *********
< 230 User ******** logged in.
> PWD
< 257 "/" is current directory.
* Entry path is ‘/’
> DELE mpimgnt.txt< 550 mpimgnt.txt: The system cannot find the file specified.
* QUOT command failed with 550
* Closing connection #0
[fset:read:ERR /0: MPIMGMT_SEND:10/18/2013 08:30:34] Error while trying to delete mpimgnt.txt.
Detailed error:Send failure: Broken pipe
Curl errCode:21 Curl error: Quote command returned error