module FtpParadise::RoebeFtpConstants
Constants
- A1
- ARRAY_AVAILABLE_HOSTS
#¶ ↑
RoebeFtpConstants::ARRAY_AVAILABLE_HOSTS¶ ↑
All available hosts are kept in the following Array.
It is always available when the roebe_ftp.yml file was found.
Append to this Array if you add new entries above.
#¶ ↑
- BPLACED
- BYTEHOST
- FTP_DATASET
- PODSERVER
- UCOZ
- UNIVIE
- UNIWIEN_HOMEPAGE
- ZEROFEES
- ZYMIX
Public Class Methods
file?()
click to toggle source
geas?()
click to toggle source
hash_ftp_dataset?()
click to toggle source
possible_hosts?()
click to toggle source
return_user_name_based_on_given_host(i)
click to toggle source
#¶ ↑
RoebeFtpConstants.return_user_name_based_on_given_host
¶ ↑
This method may return the proper user name.
#¶ ↑
# File lib/ftp_paradise/constants/roebe_ftp_constants.rb, line 214 def self.return_user_name_based_on_given_host(i) if ARRAY_AVAILABLE_HOSTS.include? i i = PODSERVER[1] # Hardcoded for now. [1] is the user-name. end if FtpParadise.const_defined? :RoebeFtpConstants i end