Custom commands problem

LordX
Posts: 19
Joined: Thu Oct 21, 2004 9:58 pm

Custom commands problem

Post by LordX » Mon May 12, 2008 6:25 pm

Hi,
Command like :
SITE WIPE %fd
SITE WIPE %fa
it trying to delete main dir in root and not selected files/dirs in the dir !
please fix it

Version : 3.0.1015.5
Time Stamp : 2008-05-02 14:09:20
Platform : x86

ps.
when I try to download file or edit file it jump to Transfere Queue automaticly this is bad , how I can disable it ? I have only 1 allowed connection to FTP.
Last edited by LordX on Mon May 12, 2008 6:32 pm, edited 1 time in total.

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Custom commands problem

Post by mb » Fri May 16, 2008 2:45 pm

Thank you for reporting.

Please try it again with the latest version:
https://www.smartftp.com/download

Regards,
Mat

Searcher
Posts: 5
Joined: Thu Nov 11, 2004 3:47 pm

Re: Custom commands problem

Post by Searcher » Wed May 28, 2008 10:45 am

The folders are selected correctly in v3.0.1016.13 but it uses an absolute path instead of a relative one what does not always work if the folders are mounted on the server. It also encloses the folder name into quotes which causes another error.. and lastly why did the command option disappear from right click? If I don't have a shortcut or the shortcut doesn't work I have to go via the main menu..any chance of having these settings editable in the main config?

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Custom commands problem

Post by mb » Wed May 28, 2008 4:55 pm

Please post the log.

Searcher
Posts: 5
Joined: Thu Nov 11, 2004 3:47 pm

Re: Custom commands problem

Post by Searcher » Fri May 30, 2008 4:12 pm

Working directory:
/test/Test.Dir.One
Contents:
CD1
CD2


Trying to delete CD1 (SITE WIPE -R %fa):

Code: Select all

SITE WIPE -R "/test/Test.Dir.One/CD1"

200 Can't wipe: "/test/Test.Dir.One/CD1" does not exist or it's not a plain file/directory
same command in FlashFXP (SITE WIPE -R %f):

Code: Select all

SITE WIPE -R CD1

200 Wipe successfully finished.
Just a side note, it was fine in 2.x versions, behaved exactly as FlashFXP

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Custom commands problem

Post by mb » Mon Jun 02, 2008 1:19 am

Please try it again with the latest version:
https://www.smartftp.com/download

LordX
Posts: 19
Joined: Thu Oct 21, 2004 9:58 pm

Re: Custom commands problem

Post by LordX » Sun Jun 08, 2008 8:49 pm

Last edited by LordX on Sun Jun 08, 2008 9:36 pm, edited 1 time in total.

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Custom commands problem

Post by mb » Sun Jun 08, 2008 9:10 pm

Post the log regarding the quotes.

Regards,
Mat

LordX
Posts: 19
Joined: Thu Oct 21, 2004 9:58 pm

Re: Custom commands problem

Post by LordX » Sun Jun 08, 2008 9:40 pm

ok look , 1st I try to use it from Custom commands menu , and I get a error , FTP not like the quotes.
then I execute command useing the command line ( SHIFT + F5 ). I write = SITE WIPE Some.Dir.I.Want.To.Delete , and it works ok because no quotes now.

[00:36:47] SITE WIPE "Some.Dir.I.Want.To.Delete"
[00:36:47] 200--[Wipe]-------------------------------------------------------------------------
[00:36:47] 200- Could not find directory to wipe
[00:36:47] 200---------------------------------------------------------------------------[ioA]-
[00:36:47] 200 Command successful.
[00:37:04] SITE WIPE Some.Dir.I.Want.To.Delete
[00:37:05] 200--[Wipe]-------------------------------------------------------------------------
[00:37:05] 200- Wiped: 3 dirs, 53 files, 712.58MB
[00:37:05] 200---------------------------------------------------------------------------[ioA]-
[00:37:05] 200 Command successful.


Please add command option from right click again.
Thanks,
Bye.

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Custom commands problem

Post by mb » Sun Jun 08, 2008 9:55 pm

Please post the log uncensored.

Locked