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 8242583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:13:08+00:00 2026-06-07T21:13:08+00:00

I have a web application A which generates config files for another application B.

  • 0

I have a web application “A” which generates config files for another application “B”.
I must be able to transfer this config files by a FTP connection.

“A” and “B” are not on the same network so I have to store the config files made by “A” on my local device (a tablet).
“A” is used with multiple devices. With the iPad (no classical file system) I can’t download and store the config files and then upload them to “B”.

So I store the config files in the cache of safari and I am able to display them on the tablet even when I am not connected to the network of “A” (with a href of the url in cache).
However when I try to do a “fopen” in the php code with this same url I get this message “failed to open stream: No connection could be made because the target machine actively refused it.”

I don’t understand why I’m able to display a file that I can’t open in the code …

Thanks !

  • 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-07T21:13:10+00:00Added an answer on June 7, 2026 at 9:13 pm

    PHP only has access to the filesystem on the server, not on the device (PHP itself does not execute on the device, it only produces output for a device, by the time the device “gets” it, PHP is finished executing). The reason you are getting the connection refused error is the same reason you need a man-in-the-middle in the first place; A cannot talk to B.

    Depending on how much control you have over some of these things, here are my ideas:

    1. re-evaluate if you can get these machines to talk to each other; get creative
    2. If you have control over the output of A, have it generate an HTML , which is submittable to the B server
    3. Can you install the web-app which is A on the B server?
    4. If you only have one or a handful of such “transfer devices” (and if you are so inclined), consider building a very simple iOS app (you’ll start to learn a cool new skill; and a single purpose app like this could be pretty simple)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a C# web application which generates SVG code using RaphaelJS , which
We have an ASP.NET web forms application which occasionally generates a validation error like
I have a ASP.Net Web Application which connects to a SQL Server. The web.config
I have an web application, which generates a JS message 'Are you sure you
I have web application which we deployed in a production . We have separate
I have web application of which major part is javascript. I request images from
I have a web application which process the data collected from different client machines
I have a web application which uses the globalization values being passed from sql
I have a web application which needs to perform a file copy operation and
I have one web application which I have been working for some time.I am

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.