Delete method is not working
Opened this issue · 0 comments
SergiSC commented
Hello,
I noticed that the delete method is not working correctly. I'm trying to delete a file once I downloaded it and extracted the data. For the listing and downloading there was no problem at all, it works perfectly.
The problem comes when trying to delete the downloaded file. I was using the delete method (with the debug option enabled) and no message was displayed in the console. The file was still in the FTP server.
Then I tried to delete it using the rawClient.delete()
and it worked perfectly fine (receiving the delete message in with the debug option):
[connection] > 'DELE /data/XX/file_name.xml'
[connection] < '250 Delete operation successful.\r\n'
This solution works fine but just wondering if you notice that.
Many thanks for your attention :)