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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:59:15+00:00 2026-05-15T11:59:15+00:00

I provide a public FTP account for people to upload files into a temporary

  • 0

I provide a public FTP account for people to upload files into a temporary folder. An AJAX interface shows fresh files, then users can tag and move the file into a different folder.

I would like to show every user just the files they uploaded themselves, not all the other ones that might be uploaded at the same time by other people. Individual FTP accounts are no option.

Is there a way to connect the logged-in user and the FTP-upload by IP address? Can I find out the uploader IP for any given file using PHP?

  • 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-05-15T11:59:15+00:00Added an answer on May 15, 2026 at 11:59 am

    Is there a way to connect the logged-in user and the FTP-upload by IP address? Can I find out the uploader IP for any given file using PHP?

    You can’t easily find the IP address data for previous FTP uploads if you didn’t capture it at the time. Going forward you could certainly record this BUT:

    1) only if your FTP server permits it

    2) it’ll probably write it to the log which you’ll need to parse then compare with the actual files (not trivial)

    3) the fundamental approach is flawed – unless you’ve only got users connecting via a local area network, there is no requirement that the client address for the FTP connection is the same as the client connection for the HTTP connection. (e.g. HTTP connection might go through a proxy, FTP connection direct).

    A slightly better approach would be to use usernames rather than IP addresses (although you still have problems 1 and 2 to contend with).

    Better yet, scrap the FTP and do the uploads using HTTP.

    C.

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

Sidebar

Related Questions

I saw this question Inject into private, package or public field or provide a
I have a class that includes a std::list and wish to provide public begin()
Classes that implement IEnumerable and provide a public void Add(/* args */) function can
I am writing a library that will provide a collection of public types to
Since Apple doesn't seem to provide a public means of creating notification badges wherever
What I want to do is provide some public static fields that will be
In C#, I'm trying to serialize ClassA into XML: [Serializable] public ClassA { [XmlElement]
When I provide a constructor with a default value public MyClass(string description = null)
I'm currently using the event @Override public boolean onTouchEvent(MotionEvent ev) { To provide feedback
I am uploading files to ftp using FtpWebRequest . I need to show the

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.