FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 8th, 2012, 04:58 PM
theswally theswally is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 2 theswally User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 25 sec
Reputation Power: 0
Intelligent, rule-based FTP forwarding...is it possible?

Here's my problem....any help would be MUCH appreciated!

My company has 4 data-centers around the world that each host specific customers data. Each data-center also has an FTP server where customers can upload files to be inserted into their databases. These are currently addressed as ftp1.site.com, ftp2.site.com, etc, which correspond to data center 1, data center 2, etc. Every customer has a unique login to the FTP server.

Well, the time has come that we need to migrate some customers to different data-centers. For example, customer A at data-center 1 will be moved to data-center 3. We would also like them to start using ftp3.site.com for their file uploads, but with the volume of customers we will be moving it's not realistic that they will all change their FTP address on their end in a timely manner to correspond to the migration.

I am searching for solutions to the problem. One idea is to implement an FTP server that can accept an incoming FTP request, authenticate the user, use the login name to determine from our master database which data-center the client is assigned to, then forward the user on to that FTP server. Ideally, this should be transparent to the user.

In the example above, the user would connect to ftp1.site.com as they usually have, but our FTP server would recognize they had been re-assigned to data center 3 and forward them on to ftp3.site.com.

I welcome any and all ideas on possible solutions. Thanks!

Last edited by theswally : August 8th, 2012 at 05:18 PM. Reason: more descriptive title

Reply With Quote
  #2  
Old August 9th, 2012, 09:35 AM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,931 E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 7 h 43 m 47 sec
Reputation Power: 6991
I don't think FTP has any mechanism for redirection or forwarding built-in.

Each FTP server could act as a proxy of sorts for the other ones, although this would increase bandwidth usage because you would have to first copy the first from one data center to the other before sending it to the client. I'm not sure if any existing FTP servers would have this capability, it's not really my area of expertise.

Rather than having a separate domain for each data center, it would probably be better to have a separate domain for each client. Then you can map those client domains to your data centers using a CNAME, and moving the client from one data center to the other is just a matter of updating the CNAME entries - the domain the client uses to connect would never change. Obviously at this point though that is not an approach you could implement transparently for existing clients.
__________________
PHP FAQ
How to program a basic, secure login system using PHP

Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
  #3  
Old August 9th, 2012, 10:22 AM
theswally theswally is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 2 theswally User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 25 sec
Reputation Power: 0
Thanks for the advice. Unique domains per client is one thing we are considering right now. May also end up writing our own FTP server utility to tackle this.

Still open to other ideas, though...

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Will any FTP server product do this??

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap