We had the following issue:
Status: Resolving address of ftp.example.com
Status: Connecting to 22.214.171.124:21...
Status: Connection established, waiting for welcome message...
Response: 220 Welcome to this FTP Server
Command: USER our-username
Response: 331 Please specify the password.
Command: PASS *******
Response: 230 Login successful.
Status: Retrieving directory listing...
Response: 257 "/"
Command: TYPE I
Response: 200 Switching to Binary mode.
Response: 227 Entering Passive Mode
Error: Connection timed out
Error: Failed to retrieve directory listing
the FTP server just would work in passive mode, and about every FTP-Client
we had was defaulting to Passive mode because we are behind a rooter and
obviously most ports aren't forwarded for security reasons.
What worked in the end was WGET
wget -m ftp://username:firstname.lastname@example.org/foldername --no-passive-ftp
the -m option for wget means "mirror", so it mirror the folder structure on the server
(this is similar to -r but you don't have to specify which files using *
--no-passive-ftp sets wget to use only active connection
We usually have several content regions populated in the TS-Template like this:
subparts.main_content < styles.content.get
subparts.main_content.select.where = colPos = 1
subparts.second_content < styles.content.get
subparts.second_content.select.where = colPos = 2
You can define a global maxW for images, but often this needs to be specific for every content region.
And this is how it should be done:
subparts.right_content < styles.content.get
subparts.right_content.select.where = colPos = 2
subparts.right_content.slide = -1
you must use:
subparts.right_content = COA
5 = LOAD_REGISTER
5.maxImageWidth = 320
10 < styles.content.get
10.select.where = colPos = 2
15 = RESTORE_REGISTER