Avatar of Richard Korts
Richard Korts
Flag for United States of America asked on

ftp issue

I normally use FileZilla for ftp.

I have a customer who has moved their doman from the old host (1 & 1) to a new host & has built a new WebSite.

Now they want me (the developer of the old site) to shut off a cron job that runs every night on the old server.

Of course, I cannot ftp to the domain name, it now points to the new server. I got the IP address of the old site, but when I replace the url with the IP address, FileZilla  will not connect.

So I tried ftping with FireFox; it gets me to the right place but there is no way (I can see) to delete a file on the server. I figured I can delete the php program that the cron job calls, that will eliminate the running of the cron job.

Any ideas on how to get in & delete a file?
Web DevelopmentNetworking

Avatar of undefined
Last Comment
Richard Korts

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Computer Guy

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Dave Baldwin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Phonebuff

You need to ssh with something like PUTTY and then as the user executing the CRON job at the command line "crontab -e "  then delete the line you are removing and save the file by typing :wq.

However, if the account is shut down and the site moved, then then 1&1 should be able to just eradicate the whole instance.  

One other thought that might work, instead of using the IP in place of the url, add the host to your local hosts file temporarily and then the domain will resolve for you and only you to the 1 & 1 host.
Richard Korts

ASKER
To Computer Guy,

I was able to get in through command line ftp in Win 7.

I deleted the 2 php programs that were run from cron.

Are you suggesting that will not work?

Thanks
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23