Go Back   FlashFXP Forums > >

Custom Commands Download, share, or get help creating your own.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-21-2011, 10:37 AM   #1
HYing
Junior Member
FlashFXP Registered User
 
Join Date: Jan 2011
Posts: 3
Wink How to download Batch Files using command line

Hey, guys!

* FlashFXP v[4 ].[000 ], build [1540 ], [ Yes]registered
* OS [ Yes] WinXP


Since I bought this copy of RC 4.0.x, it works great. Now, I got a problem of downloading batch files.

My site needs to update a fixed set of files daily. I know the files path, it looks like this:

/includes/modules/pages/gv_redeem/header_php.php
/includes/modules/pages/login/header_php.php
/includes/modules/pages/no_account/header_php.php
/includes/modules/pages/no_account/jscript_addr_pulldowns.php
/includes/modules/pages/no_account/jscript_form_check.php
/includes/modules/pages/no_account/on_load_main.js
/includes/modules/pages/order_status/header_php.php


All those server files needs to be backuped firstly, because somebody else have edited them online. Then I will upload the new files in my local computer.

So the problem is like this:
1. I know what server files needs to be backuped
2. I know how to use FlashFXP to down a file using command line like this:
FLASHFXP -get -localpath="C:\localbase\" ftp://usr:pwd@ftp.mysite.com/include...header_php.php

That works great...

3. how to make the whole process automatically running like a BATCH command? I have tried to write a .BAT file like this:
FLASHFXP -get -localpath="C:\localbase\" ftp://usr:pwd@ftp.mysite.com/include...header_php.php
FLASHFXP -get -localpath="C:\localbase\" ftp://usr:pwd@ftp.mysite.com/include...ages/index.php

It opens one FlashFXP window to download a file, then I have to close it, then it opens another...

That really made me feel despaired. There are about 120 files needs to be backuped, I don't think this is the solution I need.

Please let me know how you guys deal with this situation.

Best Regards,
HYing

Last edited by HYing; 03-21-2011 at 10:46 AM.
HYing is offline  
 

Tags
batch download, command line, download, file list, files, flashfxp, upload


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 07:42 PM.

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