Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 10-27-2004, 01:07 PM   #1
shawn1
Junior Member
 
Join Date: Oct 2004
Posts: 6
Default how to disable "Command Tokens"

Command Tokens: %f %d
sometimes we found the directory names contain these strings. When we tried to execute a command script to deal with these directories, we got a problem. So, How to disable command Tokens?

For example:
I made a command to rename a directory name:
{
rnfr %f
rnto z%f
}

But when I tried to rename a directory such as :
/aaa%d%f/
the flashfxp will prompt to let me input %d, and replace %f as the file name.

Any ideas?

Thanks a lot!
shawn1 is offline  
Old 10-27-2004, 03:02 PM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Which version/build of FlashFXP are you using? This seems to work properly with FlashFXP v3.0.2
bigstar is offline  
Old 10-27-2004, 08:54 PM   #3
shawn1
Junior Member
 
Join Date: Oct 2004
Posts: 6
Default

3.0 b 1015
shawn1 is offline  
Old 10-28-2004, 10:09 AM   #4
shawn1
Junior Member
 
Join Date: Oct 2004
Posts: 6
Default

OK, I tried 3.0.2 b 1044
And, yes, it fixed the problem in the example I mentioned above. But still there are lots of problems exist about this issue.

For example:
CWD %f

If the %f point a directory like this : a%da
ffxp will prompt for the %d, but in fact, it's just a string in the directory name.

Another example:
rnfr %d[Name of Dir/File]
rnto a

If you input a directory name for the %d like this: a%da, ffxp will ask you again for the %d in the name a%da. Actually, a%da is just a name of the directory name.

So, my suggestion about this issue is that we should be able to customize Command Tokens and save it to ffxp's ini file. (for example, we can choose %%f to replace %f)
Or, change ffxp to override % by %%. (That means, if %% is found, it become the char %. But if only % is found, it become the lead char for the command tokens .)

Thanks a lot for thinking about this issue!
shawn1 is offline  
Old 10-28-2004, 11:40 AM   #5
Linkster
Moderator
Administrator
 
Join Date: Oct 2001
Location: New Mexico, USA
Posts: 1,070
Default

Why on earth would you create a directory with %d in the name. C'mon people. This will not be changed to support that.
Linkster is offline  
Old 10-28-2004, 12:52 PM   #6
DayCuts
Senior Member
FlashFXP Beta Tester
 
Join Date: Dec 2003
Posts: 421
Default

%? sequences in directory names can be quite common in some circumstances, such as some types of web servers.
DayCuts is offline  
Old 10-28-2004, 03:05 PM   #7
ugh
Junior Member
 
Join Date: May 2002
Posts: 14
Default

Seems like a perfectly valid bug report / fix request by shawn1. Not everybody can decide the naming scheme on servers.

Please note that I'm not affected by this myself, I just had to write a reply to what reminded me of the support forum for a well-known ftp server that is constantly in beta...
ugh is offline  
Closed Thread

Tags
command, directory, flashfxp, rename, tokens

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP-servers vek General Discussion 1 02-04-2005 08:03 PM


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

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)