Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    112
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Alternative to remote FTP

    Recently, I changed servers for my site and my new host does not has FTP support in their PHP configuration. I have requested for FTP to be added but I am doubtful they will do so.

    I have an upload script that uses remote ftp functions because the files are to be uploaded onto a different server. Each file uploaded will also be added to the database which is located in the new server (file server). I cannot find an easier way to workaround the FTP problem since I need to retrieve and verify data from the database and upload the files onto a different servers.

    Someone has suggested to me that I have the upload form point to a script on the file server itself but problem arises when I need to verify the data with the database. So I find myself stuck between using remote FTP or remote access to the database. Does anyone have any advice for me? Thank you for your time.

  • #2
    Regular Coder
    Join Date
    Feb 2005
    Location
    West Midlands, UK
    Posts
    623
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you're storing the file in the database anyway then why do you also need to store it on the file server? It seems to me that storing it twice is redundant and that by just using the database you will avoid all the headaches this is already causing. Is there some particular reason why they need to be stored on the remote fileserver?

  • #3
    Regular Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    112
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry I was not clear earlier, I'm storing the details of the file in the database while the physical file itself is uploaded onto a remote server. This is because I am unable to store all the files onto the same server due to bandwidth problem. Some people donated their space for me to store the files.

    I have not been able to come up with a suitable workaround. The new host still refuses to install ftp support and right now, I'm using the manually upload using ftp software which is very tedious for me.

    If anyone has any ideas, please feel free to suggest. Thank you for your time.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •