PDA

View Full Version : When using custom commands...


JuvY
01-29-2002, 01:22 PM
First of all I would like to thank you for creating this wonderful program which I use each and everyday! :)

Now to my question...

When using custom commands is there a certain parameter that represents the path you are in at the moment?

Example:

I am right now in /files/downloads/ and I would like to make a command that will browse to another folder of my choice but with using the whole path..

Like CWD %PATH/another/folder

So the command would mean :

CWD /files/downloads/another/folder

I'm guessing this isn't possible... but what the heck...

And also is there a place where I can read of all the parameters and commands I can use in FlashFXP?

Thanks. :)

JuvY
01-30-2002, 03:13 AM
Anyone...?

Fusion
01-30-2002, 10:55 AM
Maybe I'm stupid, but if you simply use CWD another/folder you'll CWD from whatever current folder you're in when the custom-command is used. No need to involve any extra parameters. CWD will always use the folder you are in as its starting point. I could well be missing your real problem, though.

JuvY
01-30-2002, 01:31 PM
I'm not experiencing any problem... just wondering if there's a parameter or setting that I can use to represent the path I am in at the moment in custom commands. :)

Thanks!

bigstar
01-30-2002, 03:51 PM
no there is not.. however be warned that when sending ftp commands like CWD, all ftp commands are sent directly to the server without any pre/post proccessing. What that means is FlashFXP isn't kept up to date on directory changes so it doesn't know you changed folders.

Fusion
01-30-2002, 04:59 PM
Umm, bigstar, won't that just mean that after a custom-command is done, the next time you re-run a similar, or even the same command set, you'll start from the same directory as the GUI is on? Or will the CWD use a locally stored location, ie. remain in the last accessed location? If so, would a CWD - work? ;)

bigstar
01-30-2002, 05:21 PM
what it means is flashfxp will think you are in one place but you'll be someplace else on the ftp server. This is something I never got around to dealing with and since no one complained I figured why bother :)