Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8542945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:11:18+00:00 2026-06-11T12:11:18+00:00

I have hit a problem with establishing an ftp connection. About 1 hour ago

  • 0

I have hit a problem with establishing an ftp connection.

About 1 hour ago I modified and ran a script.

Originally the script ftp connected from my server to a FastHost server, copied some files across and the closed the connection. About an hour ago it was all working fine.

I then modified the script, I told the script to delete a file, then copy another then close the connection. However the script tried to delete a file via ftp that wasn’t there which threw an error.

Noticing my scripting error I rolled back my script with svn to a few hours ago when I knew the script was working…

However now my server cannot connect to via ftp a FastHost server.

NB I know the connection details are correct as I can connect with filezila with them

Have I locked my self out? Has anyone had his before?

Here is where the code is failing:

if($connection)
    {
        ftp_close($connection);
    }
$connection = @ftp_connect($host);

$login = @ftp_login($connection, $uname, $pword);

if(!$connection)
    {
        return "Connection Failure <br/>$host<br/>$uname<br/>$pword<br/>$docroot";
    }
elseif(!$login)
    {
        return "Login Failure <br/>$host<br/>$uname<br/>$pword<br/>$docroot";
    }
else{
        // enabling passive mode
        ftp_pasv( $connection, true );

It keeps failing on $connection. I was hoping there might have been a time lock invoked and would have cleared this morning but no joy.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T12:11:19+00:00Added an answer on June 11, 2026 at 12:11 pm

    It turns out that if you try to delete a file via ftp on a file that doesn’t exist FastHost servers basically add your server to a black list.

    As a result of being on this black list you will simply not be able to connect via ftp untill the lock has been removed.

    After contacting the fasthost team this morning they confirmed this and removed the lock and now all is functioning again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have hit upon this problem about whether to use bignums in my language
I'm new to python and have hit a problem with an SQL query I'm
I'm just playing around with FastMember and have hit a problem. Each time I
I have hit a real problem. I need to do some Kmeans clustering for
I'm onto problem 245 now but have hit some problems. I've done some work
The problem i have is i could DELETE but then when i hit refresh
I have hit upon a unique problem and wanted to know if others see
I'm currently working on a project Euler problem (www.projecteuler.net) for fun but have hit
I have hit a problem while working with the Units of Measurements functionality in
I'm extremely new to cocos2D development and I have hit a problem with my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.