79384300

Date: 2025-01-24 12:17:17
Score: 2
Natty:
Report link

When using an SFTP server, the correct command would be "rm file.txt". To remove a file from a SFTP server using RCurl I build on @Ruggero Valentinotti his answer, using:

curlPerform(url = "sftp://xxx.xxx.xxx.xxx/", quote = "rm file.txt", userpwd = "user:pass")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Ruggero
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Adriaan Nering Bögel