Transfering PHP files from SFTP to FTP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
itswillist
Forum Newbie
Posts: 2
Joined: Thu Jan 24, 2008 1:13 pm

Transfering PHP files from SFTP to FTP

Post by itswillist »

So my hosting company (Which subs everything out) has used a number of people to build and program my website. There must me atleast 7 companies with their hand in my website somehow. MY question is this, they said they have my files and all in an SFTP server which is more secure (That's great... not) b/c I want to get rid of this current company and host the site through another company where I have more controll over the site.

My question is this: Is it possible to transfer PHP and HTML file from a SFTP server to a FTP server ?

Also, I hear there are alot of bugs on my site, coding, and it loads with errors and what not. :banghead: . If anyone wants to visit
http://www.overearth.com and confirm this that would be great.

Any feed back would be wonderful .. J - Man
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: Transfering PHP files from SFTP to FTP

Post by Kieran Huggins »

SFTP and FTP are file transfer protocols. You can download the files with SFTP from your current server and upload them to your new server.

That being said, there's more to it than that. Your site also has a database, so that will also need to be migrated, and your config info will have to be edited. You'll almost definitely want a developer to do this.

Frankly speaking, your site is in a terrible state: It doesn't render properly in Firefox, the URLs are a mess, even the link to the "developer" is broken! Depending on how much you're invested in it (read: if it makes money) you'll probably want to just redevelop it with a competent firm with the existing dataset imported into the new system. Fixing a mess like that is almost always more involved than an intelligent rewrite.

A good development shop isn't inexpensive though, so this may not be an option. It's often a case of "you get what you pay for".

I don't mean to sound harsh, but I figured you would appreciate the candor.
itswillist
Forum Newbie
Posts: 2
Joined: Thu Jan 24, 2008 1:13 pm

Re: Transfering PHP files from SFTP to FTP

Post by itswillist »

Thanks for your reply, anymore takers ?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Transfering PHP files from SFTP to FTP

Post by Christopher »

You should ask for not only all of the PHP, HTML, CSS and Javascript files, but also a complete SQL export of your database (if they use one) including the CREATE TABLE statements. It is not clear what they are using for a backend as they use numbers for page IDs. There may be XML file or who knows what. Make sure you get everything.

I like that the comments in the code are mostly in in Spanish (except Habeeb's). ;)
(#10850)
Post Reply