PDA

View Full Version : Web Interface and Daily Backup


DJSigmund
09-11-2008, 09:01 AM
Hi Folks,

I am new to FlashFXP and I have some questions:

I want to use the software to perform a server-to-server file-transfer, which should be performed every day a 0300...
(For this a solution could be to start the whole transfer as a Command Line Command (;)) and to perform it via a cronJob-Software.
So I need command line to transmit folder 1 on server 1 to folder 2 at serverone and overwrite all, no user interaction should be needed.
Although maybe a Logfile should be written to show that all was OK ;))

Next point is that one of the server may immediately get under heavy load and for that reason, the transfer should be delayed or aborted.
This should be done with a web interface, because I may be somewhere else seeing that i need my server and want to kill the transfer.....
(I am a pretty fair coder in php, so some hints would be useful because i need some strating point, like maybe an KILL flashfxp.exe on //server1 or such a thing....)

Many Thanks in advance,

Best Regards,
Dominik

MxxCon
09-11-2008, 03:37 PM
create and save a queue of files/dirs that you want to transfer and then use flashfxp's builtin scheduler

DJSigmund
09-12-2008, 05:29 AM
Thanks for your help on part my first question!

Do you have any idea how to get a web interface?

MxxCon
09-12-2008, 07:22 AM
if you have a capable enough mobile device, you could probably use some service like LogMeIn which is web-based remote desktop.
alternatively you can install windows version of ssh server and then connect to it and kill whatever processes you want to.
or see if you can configure your ftp server to run at lower/idle priority so that during high load other tasks won't get slowed down by the ftp transfers.

DJSigmund
09-15-2008, 01:56 AM
OK thank you!

I found a solution to control the process via php:

the function exec() can start processes and I have a program called kill.exe which will stop a process when called :)

So my next question:
Is it possible to get a status bar out of FlashFXP?
I am able zo implement it, if I only get an interface to use...

But very much thanks for your help so far!

MxxCon
09-15-2008, 10:19 AM
statusbar or titlebar?
F6, Transfer, Taskbar Caption. Customize it however you want.

DJSigmund
09-22-2008, 02:09 AM
So i have to press f6?

but waht i want is to start it automaticelly, which works and want to ask how I can get this statusbar automaticelly up?

MxxCon
09-22-2008, 09:41 AM
what do you mean by statusbar?