]]>

Go Back   FlashFXP Forums > FlashFXP > Custom Commands

Custom Commands Download, share, or get help creating your own.

Closed Thread
Thread Tools
Unread 01-18-2012, 07:06 AM   #1
Junior Member
 
Join Date: Jan 2012
Posts: 1
Unhappy how to delete files in remote server?

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.
ctfwren is offline  
Unread 03-15-2013, 11:26 AM   #2
FlashFXP Developer
FlashFXP Administrator
ioFTPD Scripter
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 7,350
Default

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\"
bigstar is offline  
Closed Thread

Tags
delete file
Create a free account to browse our forums without ads



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 02:08 AM.