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

FTP_delete



Following from the joblog:
	[1]  >RETR sched_20080505162233.txt                            
	     150 Opening ASCII mode data connection for                 
	     /Download/Schedule/sched_20080505162233.txt.'              
	     226 Transfer complete.                                     
	[2]  > DELE sched_20080505162233.txt                            
	     500 sched_20080505162233.txt not deleted.  

Coming from 
	[1]  ftp_get(ftp: Files(X))
	[2]  ftp_delete(ftp: Files(X))
in the Rpg program using ftpapi.

The ftp_delete fails for an unknown reason.

Accessing the ftp server via any ftp client allows
deleting the file on the server, so it's not 
missing authority causing the 
	500 sched_20080505162233.txt not deleted. 

The ftp session is still open after the failing ftp_delete
and processes more transfers. They fails to when it comes to the 
delete.

Any ideas ?

                    

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------