Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

anandmainali5's avatar

Error on uploading vendor folder to cpanel.

When i upload the vender folder in cpanel i get the error saying "The file you uploaded, vendor.zip, contains a virus so the upload was canceled: Sanesecurity.Foxhole.Zip_bat.UNOFFICIAL FOUND". Can you guys help me??

0 likes
4 replies
douglasakula's avatar

@anandmainali5 Can you ssh into the server and try composer update to pull them from remote sources. Could be the file is infected at local or its a false alarm by your hosting provider - but it definitely a blocker

douglasakula's avatar

@anandmainali5 I would identify folder or file that's being flagged as virus. then upload the others that are not flagged as virus. Then deal with the file being flagged as virus. The folder could have a .exe or some files with weird extensions that are causing this. you can remove such files and upload them separately if your app will need them to run. Or scan the directory to identify the suspicious file. Could be a file with a weird file extension as opposed to an actual threat

douglasakula's avatar

@anandmainali5 - Totally unnrelated - Out of curiosity - who is your host. I have some shared accounts with Namecheap and I can ask them to enable ssh access to the account. Its actually an option within cpanel to enable ssh access to the account.

Something like:

ssh -p 21098 [email protected]

This asks me for the cpanel password and am in.

If the host cant enable - then my previous answer might be something to explore

Please or to participate in this conversation.