Skip to main content

File Manager Extract causing PHP files to get double lines

Comments

9 comments

  • Infopro
    Hi Andy, I'm unable to duplicate this on a cPanel v70.0.23 server. What version are you on over there?
    0
  • AndyX
    Thank you for testing. I tried on two different web hosts: 68.0.33 and 11.62.0.40 -> shared web host with GoDaddy
    0
  • AndyX
    I'm unable to duplicate this on a cPanel v70.0.23 server.

    Please use TextEdit to view the extracted file. When viewed inside cPanel using File Manage -> View the PHP file looks normal.
    0
  • Infopro
    To be clear, you uploaded the zip, extract it, then selected download > Open with text edit, is that right?
    0
  • AndyX
    To be clear, you uploaded the zip, extract it, then selected download > Open with text edit, is that right?

    Thank you for checking. Here are the steps I took: 1) cPanel -> File manager -> Select ZIP file -> Extract 2) Dreamweaver (or use some other FTP program) -> download one of the extracted PHP files. 3) Open PHP file on my iMac using TextEdit.
    0
  • Infopro
    That's exactly what I've done above, sans dreamweaver, I don't use it.
    0
  • AndyX
    I was able to solve this issue by changing the "Connect using" from FTP to SFTP.
    0
  • Infopro
    That setting is in Dreamweaver I take it? Interesting that the connection type would have an effect here with this.
    0
  • AndyX
    The etc/ folder under the username was somehow moved to public_html/ so once that was moved back I could no longer FTP, so once I changed to SFTP in Dreamweaver I was able to FTP and also the issue with extract was resolved.
    0

Please sign in to leave a comment.