| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: Delete from MVS FTPServer failing without message |
| Stefan75 From: Vienna, USA Posts: 1 Member Since: 01/15/04 |
posted January 15, 2004 9:34 AM ... myftp1.delete("file.test",false,false) *)does NOT delete the file on MVS-FTPServer *)doesn't even cause a trace-Event *)doesn't raise an error Get-Function is OK. My program works perfect against IIS-FTP-Server (Trace and successful Delete), but not when FTP-Server is MVS. IMHO this is a bug ;-( But, everything else is working satisfying. TIA Stefan PS: I will write a Support-Ticket, too. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 15, 2004 9:36 AM Since you also submitted a support request, we'll handle it there. |
| jwilms From: Dessel, USA Posts: 9 Member Since: 09/08/04 |
posted December 21, 2005 9:01 AM What was the fix for this problem ? I'm having exactly the same situation. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted December 21, 2005 9:13 AM It turned out that the Listing was failing because it is not in UNIX or DOS format, so the Delete method did not delete any files or report any errors because it thought that there were no files to delete. The workaround was to use the Invoke method to call Delete instead: Ftp1.Invoke(Dart.PowerTCP.Ftp.FtpCommand.Delete, "myFile") Using this method you can only delete one file at a time, so if you wanted to delete multiple files you would have to build your own list and call Invoke for each one. |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|