Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

With ncftpput.exe how do I delete a remote file once logged in?

I have tried using the -W option to send a Raw FTP command but cannot get it to work.

Has anyone got a working example?

Have tried this command line & several variations of:-

ncftpput.exe -f FTP_account.ftp -W DELE TEST.TXT
share|improve this question
    
Have you been able to delete a file using ncftp? I am searching for a Windows script that used ncftp to upload and download remote files and afterwards delete them from the remote location. Thanks in advance. –  user155655 Jan 23 '13 at 8:11
add comment

1 Answer 1

From the man rm If you need to delete a remote file you can try the rm command. Much of the time this won't work because you won't have the proper access permissions. This command doesn't accept any flags, so you can't nuke a whole tree by using ``-rf'' flags like you can on UNIX.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.