Jump to content
Larry Ullman's Book Forums

Recommended Posts

I have created a database using the script that sends the file to a folder I named /uploads.  I now have 20,000 uploads to my database, all running fine.  I have opened a new domain on a different server and have uploaded the scripts and have created new MySQL databases and have uploaded the /uploads file with all the associated files to the new server.  All runs properly except when downloading the file.  The link is correctly associated to the correct file numbered accordingly and it does start to open, but the files are not opening properly due to that the server I downloaded them from to then upload to my server has a different path name according to tech support on the new server.  Is there a way to download the /uploads folder to my local drive then upload this file to my new server without the path name that the server reads changing? 

Share this post


Link to post
Share on other sites

It's not a matter of downloading and uploading, it's the fact that the new server may (or may not) have a different path to the files than they had on the old server. Can't you just make a slight adjustment to your code to fix the path for the new server?

Share this post


Link to post
Share on other sites

Thanks Larry for your reply.  I would do that, but I honestly don't know how I would modify the code to suit the new server.  Should I copy the script here if you have a sec to look at it? 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...