Z
Z
Z_Coder2014-02-22 15:16:21
Yii
Z_Coder, 2014-02-22 15:16:21

Why does Doc file get corrupted when uploaded to server?

Hello. I upload a .doc file to the server and then link to it. When opening word, it says that the file cannot be read. What can be cause? Everything works fine on the local machine.
I am using PHP/YII.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
Z_Coder, 2014-02-22
@Z_Coder

The problem was in ftp notepad++. Uploaded via filezilla and it worked.

R
Rowdy Ro, 2014-02-22
@rowdyro

<Directory />
    Options FollowSymLinks
</Directory>

The FollowSymLinks option is enabled, which allows Apache to see the symlinks to service the request, even if the file is not in the directory containing the Web files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question