PDA

View Full Version : how to delete files in remote server?


ctfwren
01-18-2012, 08:06 AM
In Dos, i can use this commad upload file 'G:\1.txt' to remote server.
D:\FlashFXP\FlashFXP.exe -upload ftp://Test:123@127.0.0.1 -localpath="G:\1.txt" -remotepath="/1.txt"

now,i want to delete file in remote server ,like the upload command.

D:\FlashFXP\FlashFXP.exe -delete ftp://Test:123@127.0.0.1 -remotepath="/1.txt" ????

this command is wrong...

help , thanks.

bigstar
03-15-2013, 11:26 AM
The syntax you're using is not correct, this information is available in the help file.

Example to delete a single file:
flashfxp.exe "\alpha\omega" -delete="\path\to\file.ext"

Example to delete a folder and all sub-folders within it:
flashfxp.exe "\alpha\omega" -delete="\path\to\delete\"