Log in

View Full Version : Could this parameter be added?


JuvY
03-10-2002, 07:58 AM
%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 :)

XiLiAN_2
03-10-2002, 09:11 AM
Why dont you just use %f for selected directory/file ?

deleting a directory you're currently in doesn't sound good...

Fusion
03-10-2002, 09:59 AM
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.

JuvY
03-10-2002, 03:25 PM
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 :)

XiLiAN_2
03-10-2002, 03:31 PM
pi is 3.14... which is close to 3 ... for easier calculation we'll use 2.

bigstar
03-10-2002, 04:12 PM
sure i'll add it in the next build

bigstar
03-10-2002, 04:26 PM
Hmm.. Seems %p already exists, it's just not mentioned on the help tab.

JuvY
03-10-2002, 04:42 PM
Awsome! Thanks bigstar :)