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 11-10-2014, 01:00 PM   #1
kroehl
Junior Member
FlashFXP Registered User
 
Join Date: Jul 2005
Posts: 1
Default First server move: fxp and auto-chmod?

Hi there,

I´ll have to move to another server and can´t find out how to make a server to server transfer where the CHMOD from the old server-files will be set on the new server. We´re talking about around 40.000 files - so this would be...erm..helpfull
How can I do that with FlashFXP?

Thank you!
kroehl is offline  
Old 11-10-2014, 05:23 PM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

chmod isn't preserved and if this is something you need then I'd recommend tar/zip the whole structure and then transfer the archive and then restore it.
bigstar is offline  
Old 11-11-2014, 03:20 AM   #3
DayCuts
Senior Member
FlashFXP Beta Tester
 
Join Date: Dec 2003
Posts: 421
Default

The best way to do this depends entirely on your situation.

FlashFXP (or any ftp client) should almost never be used to FXP files where is it important to preserve things like ownership, modification times, file system based flags and permissions, etc. However if you really had to you could create some custom commands to do it (read help file) assuming the target ftp server accepts and correctly handles the raw chmod/chown/whatever you wish to apply.

For a linux/bsd/etc system a better solution is to use the shell. tar is fully capable of preserving filesystem metadata and would be appropriate if the files are small (eg web server, text documents, emails, etc). If the files would create a tarball that is too large, or you don't have the space to store the extra tarbal, then I would suggest rsync. rsync will allow you to remotely sync from one system to another using any number of methods (ssh tunnel, ftp, remote server mount, etc) and with the correct flags will also preserve everything for you.

If you are working with windows based system then the task is much easier... simply map the network drive / remote system share / etc then cut/paste the files.
DayCuts is offline  
Closed Thread

Tags
files, flashfxp, fxp, move, server

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:06 PM.

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