Go Back   FlashFXP Forums > > > >

Suggestions Post suggestions for upcoming versions

 
 
Thread Tools Display Modes
Old 03-10-2002, 07:58 AM   #1
JuvY
Member
 
Join Date: Dec 2001
Posts: 47
Question Could this parameter be added?

%p for current path.

SmartFTP and FTP Voyager support it...

Example:

if I'm currently in /system/files/ then RMD %p would mean RMD /system/files/

Would that be possible in the next FlashFXP build?

Thanks
JuvY is offline  
Old 03-10-2002, 09:11 AM   #2
XiLiAN_2
Junior Member
 
Join Date: Mar 2002
Posts: 4
Default

Why dont you just use %f for selected directory/file ?

deleting a directory you're currently in doesn't sound good...
XiLiAN_2 is offline  
Old 03-10-2002, 09:59 AM   #3
Fusion
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 542
Default

XiLiAN is right, depending on the server-software, deleting the active directory could force an error and fail. The command could do a cd .. before the delete, but that could mean you would be able to try to delete the top-dir. Depending on the code, that could result in deleting all the files and dirs BEFORE it fails. XiLiAN's method is preferable.
Fusion is offline  
Old 03-10-2002, 03:25 PM   #4
JuvY
Member
 
Join Date: Dec 2001
Posts: 47
Default

I was just giving an example, I wasn't saying that's the only use for the parameter... there are many others, and I believe it's not a very complicated parameter
JuvY is offline  
Old 03-10-2002, 03:31 PM   #5
XiLiAN_2
Junior Member
 
Join Date: Mar 2002
Posts: 4
Default

pi is 3.14... which is close to 3 ... for easier calculation we'll use 2.
XiLiAN_2 is offline  
Old 03-10-2002, 04:12 PM   #6
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

sure i'll add it in the next build
bigstar is offline  
Old 03-10-2002, 04:26 PM   #7
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Hmm.. Seems %p already exists, it's just not mentioned on the help tab.
bigstar is offline  
Old 03-10-2002, 04:42 PM   #8
JuvY
Member
 
Join Date: Dec 2001
Posts: 47
Thumbs up

Awsome! Thanks bigstar
JuvY is offline  
 

Tags
/system/files, build, current, flashfxp, rmd

Thread Tools
Display Modes

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
Serious bug!? phobiq Bug Reports 18 11-07-2002 12:51 AM


All times are GMT -5. The time now is 03:55 AM.

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