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-19-2015, 06:14 AM   #1
MPOWER
Junior Member
FlashFXP Registered User
 
Join Date: Nov 2007
Posts: 10
Default Schedule downloads

Hi
I am wondering if it is possible to create a schedule download from a server that will select ALL files from a folder EXCEPT a Folder that is in there.
The problem is that the filenames of the files I am interested in are changing daily because they contain the date in the following format "filenameDDMM.doc" where DDMM is obviously the date. Otherwise I would select all files except the folder and create a queue, but the next day the file names will be different.
The folder that I DON'T need to download daily that is in there is "HISTORY" folder containing all previous files.

I am not sure if I made my self clear

Thanks in advance
MPOWER is offline  
Old 05-19-2015, 01:59 PM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

This can be done by enqueuing custom commands.

First you'll need FlashFXP v5.1.0 (build 3844) or newer. You can download it here

1. Connect to the server. In the screenshots below the name of my server is "test server"
2. Browse to the desired local and remote folders.
3. Right-click on the remote file listing and from the menu Enqueue > Raw Command.
4. Now from the Enqueue > Raw Command dialog click the Down arrow to expand the text input to enable multi-line editing.
5. Enter the following commands:
Code:
/lcd n:\logs
/cd /data/logs/
/select -f
/queue selected
6. Click the OK button.
7. Save your queue.


This command script will perform the following operations when executed:
  • Change the local folder to "n:\logs"
  • Connect to a server named "test server"
  • Change to the remote folder to "/data/logs"
  • Select all files.
  • Add the selected files to the queue and then transfer them.

Screenshots

Remote Browser > File List > Right-click > Enqueue > Raw Command


Enqueue > Raw Command (condensed)


Enqueue > Raw Command (expanded)



The entry in your queue will look something like this
bigstar is offline  
Old 05-20-2015, 03:24 AM   #3
MPOWER
Junior Member
FlashFXP Registered User
 
Join Date: Nov 2007
Posts: 10
Default

Thanks for the detailed reply. I suppose it is obvious that I am newer than newbie

I created the custom command and saved it as TASK.
Your command seems to select all files (as desired) but does not transfer anything and I get a "The operation completed successfully"
If I may add a little extra that I need... Is it possible to select and delete ALL contents of my Local Destination folder before transferring the new from the server?

Thanks again for your time
MPOWER is offline  
Old 05-20-2015, 05:23 AM   #4
MPOWER
Junior Member
FlashFXP Registered User
 
Join Date: Nov 2007
Posts: 10
Default

I managed to create a new command that will delete the contents of the local folder.
I am thinking of running this schedule task 1 minute prior to the new download task. Does this sound right?
Still haven't managed to transfer the selected files
MPOWER is offline  
Old 05-20-2015, 07:11 AM   #5
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Quote:
Originally Posted by MPOWER View Post
Still haven't managed to transfer the selected files
Did you download and install the updated build of FlashFXP provided in my first post?

Last edited by bigstar; 05-20-2015 at 07:50 AM.
bigstar is offline  
Old 05-20-2015, 07:30 AM   #6
MPOWER
Junior Member
FlashFXP Registered User
 
Join Date: Nov 2007
Posts: 10
Default

I have installed the ver 5.1.0 (Build 3839)
MPOWER is offline  
Old 05-20-2015, 07:32 AM   #7
MPOWER
Junior Member
FlashFXP Registered User
 
Join Date: Nov 2007
Posts: 10
Default

Sorry I thought 3839 was > than 3844
MPOWER is offline  
Old 05-20-2015, 07:37 AM   #8
MPOWER
Junior Member
FlashFXP Registered User
 
Join Date: Nov 2007
Posts: 10
Default

It is working like a charm.

Thanks again

Can I add in the same custom command the "delete local files"?
MPOWER is offline  
Old 05-20-2015, 07:50 AM   #9
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Quote:
Originally Posted by MPOWER View Post
Is it possible to select and delete ALL contents of my Local Destination folder before transferring the new from the server?
Yes, we just add a few more commands.

Code:
/lcd n:\logs
/activate local
/select -f
/delete selected
/activate remote
/cd /data/logs/
/select -f
/queue selected
bigstar is offline  
Old 05-20-2015, 08:18 AM   #10
MPOWER
Junior Member
FlashFXP Registered User
 
Join Date: Nov 2007
Posts: 10
Default

Perfect

Thanks
MPOWER is offline  
Closed Thread

Tags
download, folder, files, select, date, schedule, daily, create, advance, names, queue, day, file, made, clear, dizzy, history, previous, problem, filenames, interested, server, downloads, wondering, changing

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 03:07 AM.

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