FIX(SOLVED) - Downloading files from FTP server causes them to have extra line breaks

Reviews, Technology, Making Money Online

FIX(SOLVED) - Downloading files from FTP server causes them to have extra line breaks

Posted By: Banelihackpacker | 27 February 2025

Reviews, Technology, Making Money Online


When I download files, via FileZilla as my client-FTP, from my Linux server, it keeps adding extra line breaks to the code in the file. As a result, where there was one space it becomes double-spaced in a my text editor, with single spaces everywhere else including braces.

 

The fix is simply to set the default transfer type to Binary, from what is likely Auto or perhaps even ASCII.

 

That's the complete solution, so if that's what you specifically clicked-through to this video for, you only need to watch further if you're interested in an ongoing, real-world application of this type of issue. That being making changes to some of the source code of my bespoke-built and hard-coded eCommerce store that's also an affiliate marketing sales & management platform, with an integrated CMS blog that I also hard-code built from the ground up.

I'll be making changes which I'll class into three categories:

#1 - Modifying the information on my contacts page, to incorporate information as required by Payoneer, so that they can re-verify my personal global receiving accounts

 

#2 - Changing my Facebook profile link, and

 

#3 - Integrating affiliate links to those Commission Junction affiliate partner programmes I've been accepted to and seek to move forward promoting

 

#1

I'll make an entire post that's dedicated to the usefulness of Payoneer, so for now I'll just briefly mention that I'd previously been conveniently using Payoneer in my personal capacity, until they required some re-verification procedures to be completed. In the meantime, because Commission Junction requires for an affiliate to add an earnings withdrawal bank account from a supported list of countries which exclude South Africa, I managed to open up a Payoneer Business Account with receiving accounts in US dollars, Euros and British Pounds, satisfying all the requirements to get the business for which I was opening those accounts verified.

 

So I won't be too disappointed if what is now the third attempt at getting my personal account re-verified fails, especially since I'm perhaps half-expecting it, since I've already listed my banelihackpacker.co.za website as part of the verification process for the business account.

 

Anyway, the actual information on the "contact us" page isn't dynamically extracted via database, CMS-style, in contrast to the so-called operational information and data, like the prices and descriptions of listed sales offers, etc. So I'll have to modify the HTML code to incorporate the required information for Payoneer re-verification.

 

#2

Yeah, look - I think Facebook or Meta makes for the perfect example of how a tech company can get so big that its technical process implementations can result in a fatally flawed user experience. The worst thing is they give you no way of at least discussing the faced issues with anybody from the technical or development team, so they subsequently have no way of being made wise to a specific data-flow point or process causing an effectively terminal outcome for many users.

I won't get into detail about that here, because what value does it give to anyone? If, by some miracle, the appropriate powers that be at Meta come across this post, they are free to contact me so we can engage.

Otherwise, what it comes down to is that I now have no way of accessing my Facebook account which I'd been using since around 2007, and I know exacltly why that is. I know what has caused that and it's not having been hacked.

Like I said, they can get in touch should they wish to engage. Consequently, I have created a new account and so I have to change every instance of the link to that profile and account I now no longer have access to.

Fortunately, I applied the principles of Object Oriented Programming in the integration of some elements of my website, including links to my social media platforms. So I only have to modify one line of code in one php file, instead of what would otherwise be modifying each instance of each link.

 

Now, with #3 there are two sub-categories of changes I need to make, the first one which I'm going to discuss requires no code modifications at all. When building the Content Management System for the blog, I made provision for adding advertiser banners and their corresponding links. So that's the channel I'm going to use to add banners and their corresponding vendor links, as a newly signed-up affiliate via Commission Junction.

So, I already promote Agoda on the blog, alongside my GWAPSA programme, and now I'm going to be adding banners with my affiliate links for: 

Booking.com, which is actually the exact same thing as Agoda as they're both owned by the same parent company

MyTrip.com for flight searches

Movavi, as the Video Editing Suite I use to edit my Banelihackpacker YouTube channel videos,

Then I'm also going to add FlexJobs, which, together with Freecash which I might add later on, the jury is actually still out on whether I'm going to have all of these vendors complete my effective listing of all the elements that come together to make up the Digital Nomad life I'm trying to carve out. The idea is to only recommend tools that I'm successfully using myself, so as to maintain that all-important value point in all the content I share.

 

So, as mentioned, I'm going to add these to the blog via the CMS feature I built to do so, but now I also want to "clean" these affiliate links up so that I can add them to other places on the internet, some of which platforms have a prohibitive way of handling the embedding of affiliate links, if not disallowing them altogether.

So I'm going to do this by applying that Object Oriented Programming principle I mentioned, creating re-direct files as directory links on my banelihackpacker.co.za site's server. For example, my Movavi affiliate link will be re-directed to in a file that's accessible by following the link https://www.banelihackpacker.co.za/movavi

These "ultimate Digital Nomad tools" are then going to be incorporated into platforms such as the description box of each YouTube video I publish. The disadvantage, I suppose, will be that all the traffic will be tracked as coming from my website, but then again on the other hand I do indeed use Google Analytics, so that's how I can check where the traffic originates.

 

So yeah, subscribe to the channel that keeps it real as far as it goes with the make-money-online-and-travel niche, signing up at gwapsa.co.za as well if you want to be in on the action in a way that will ultimately benefit you directly.

 

I just remembered a fourth change to make, which is applying an Object Oriented approach to updating and ensuring the footer copyright information automatically displays the latest year.

 

My musical playlist, today:

Freddie Jackson - Live for the Moment

Enya - The Celts

Enya -March of the Celts

Enya -Ebudae

Enya -Caribbean Blue

Enya - I Want Tomorrow

Enya -Book of Days

Enya -Dark Sky Island (Album)