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 05-14-2014, 09:09 AM   #1
prosit
Junior Member
FlashFXP Registered User
 
Join Date: Jul 2005
Posts: 1
Default Automatic website backup

Hello,

First off, thank you for a very nice piece of software... long time user!

Recently my ISP lost all my stuff, and I did have a somewhat old backup, but I figured I'd start being proactive and do my own backup every week.

So I went through the manual and it seems I can specify the password on the command line but not the username...

Essentially what I'd like to do is login, mget * everything (including dubdirectories) and then log off and shut down FlashFXP.

Commandline as I have it now:

flashfxp.exe -get -localpath="e:\webbackup" ftp://ftp.mywebsite.com/* -pass=n0t1t -quit

It's going to be running in a batch file that then compress the entire thing and move it to an external backup server...

Doable or do I need to go back to DOS

Thanks in advance!
prosit is offline  
Old 05-15-2014, 10:45 AM   #2
SamKook
Junior Member
 
Join Date: May 2012
Posts: 24
Default

The best way I know to do this is to create a queue file(the site from your site manager will be saved in there and it will be able to connect) and then simply run it with(I don't think the local path is necessary, it's very likely saved in the queue, but I can't say for sure):
Code:
flashfxp.exe -c2 -get "e:\queue.fqf" -localpath="e:\webbackup"
If you add or remove files on the server, it may be problematic though. I'm not sure if it has to specify every files of if it can just grab folders.

I only use it to upload stuff, not backup them so maybe someone has a better way to do this.
If you can grab a list of the files on the server, you can always create the queue file manually(that's what I do).
SamKook is offline  
Old 05-15-2014, 06:00 PM   #3
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Quote:
Commandline as I have it now:

flashfxp.exe -get -localpath="e:\webbackup" ftp://ftp.mywebsite.com/* -pass=n0t1t -quit
Using a site that exists in your Site Manager.. i.e. named Foobar

It would appear that using -get with a ftp://user:pass@host/url only works when pointing directly to a file, so that wont work for you.

Method 1: using a site stored in your Site Manager
Code:
 flashfxp.exe -c2 -download Foobar  -remotepath="\" -localpath="e:\webbackup\"
Method 2: using a site stored in your Site Manager
Code:
 flashfxp.exe -c2 -get queue.fqf
Connect to the server and navigate to the desired local and remote folders and queue them, verify your queue entries and save it to a file. now you just need to pass this queue file to FlashFXP.
bigstar is offline  
Closed Thread

Tags
backup, flashfxp, flashfxp.exe, ftp://ftp.mywebsite.com/, localpath=ewebbackup

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


All times are GMT -5. The time now is 05:32 PM.

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