This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Im trying to delete files from an FTP location after they've been downloaded, and am following some steps from another solved post but am not having success.
I'm just passing a single URL ftp://ftp.xxxxxx.com/xxxx/text.txt , which is passed from a text input to a download tool to see if I can delete the test file I dropped on the server.
Config is failry simple. output to string, am selecting delete from the http actions, and the ftp credentials are correct, but no delete is taking place.
Revieiwing the header's shows the following but I'm unable to troubleshoot any further. Can anyone help?
220 Welcome to the xxxx FTP server. 331 Password required for xxxxx 230 Logged on 257 "/" is current directory. 250 CWD successful. "/xxxx" is current directory. 229 Entering Extended Passive Mode (|||50205|) 200 Type set to I 213 14 150 Opening data channel for file download from server of "/xxxx/text.txt" 226 Successfully transferred "/xxxx/text.txt"
Thanks @PaulN . have actually been trying to do that after draining some of the threads, Inc that one and it didn't seem like they managed to crack it, at least no one followed up to document how they fixed it. I'm having difficulty understanding how to format the url and deal with the credentials part though. I managed to master local file deletion, but not when it's like a url. Any steer you can offer there would be much appreciated.
Nothing special, just a file name and path from an input, formatted into a delete string to push to a bat file. Am following a previous article on how to do this. Works with a local filename and path but not ftp.
Have already checked that I can access the ftp location locally through my file explorer.