enter image description here
enter image description here
I tried too simply add an .txt file through filezilla and wanted too test it out for a bigger project (echo it)
Does someone have a soltion for this issue?
enter image description here
Related
I'm trying to upload plugin to wordpress.org but found it kinda difficult.
See Screenshot
When I click "Send Post>>" ,it says "You must supply a Plugin URL that is a link to a .zip file of the working plugin" . I've already uploaded the zip file on https://uploadfiles.io/. And the url is absolutely correct.
Any ideas?
The link needs to be a direct link to the zip file. Most file upload services won't allow this. Chances are it will need to be on a file server.
First, this is the first time i code both of web service and android (normally just android), so please bear with me.
I tried to upload an image to the mysql (phpmyadmin) through the Codeigniter-based webservice. The image column in mysql (phpmyadmin) is BLOB.
$data['image'] = str_replace('data:image/jpg;base64,', '', $data['image']);
$data['image'] = str_replace(' ', '+', $data['image']);
$decoded= base64_decode($data['image']);
Then save the decoded file (this is where the permission is denied) :
file_put_contents('C:\xampp\htdocs\project\images', $decoded);
The image file should be saved in the "temp" folder, which is in the same folder with the php file (controller folder). However, the file is never stored (but the other data like name, email is stored on the mysql).
The error i got :
<p>Message: file_put_contents(C:\xampp\htdocs\project\images): failed to open stream: Permission denied</p>
Im kinda stuck now. Please kindly help me.
Thanks for your help
As per the error I think that the images directory must have the Read-Write Permission, so that images can be stored into it.
You can give 777 permission to the images folder. If you want to give then type the following code in the terminal
sudo chmod -R 777 path
Please take care you give permission to only images folder, and not the other folders
I am using drupal 7 video module and ffmpeg together to upload video on my site.
My problem:
Upload a video, everything works fine, thumbnail is generated and video is uploaded successfully
Now download the above uploaded video.
Now Try to upload the same video, on same drupal site.
Thumbnail is not generating and also I am not able to play the newly uploaded video.
In all other cases video upload is working fine, I am able to upload same video again and again with no fuss,but when I try to upload the downloaded video , everything goes wrong even if I change the file name after downloading the video and uploading again.
Please let me know if I am not clear, will try to explain more.
I would suggest you take a look at the ffmpeg log/console output when you try to re-upload a previously downloaded file. There could be something wrong while the file is re-processed.
If you need more help please provide the output of the ffmpeg console of the video and a sample file that is not working with encoding/processing settings.
I have ftp server which store my websites uploaded files. I am putting uploaded images into "upload" directory and then displaying on them to webpages with link to my photo editor tool.
Some how I can not access my ftp files in my photo editor. I figured that it is permission problem, but when I go to change permission for my upload directory files it fails to changes and says
"CHMOD 777 realtors.jpg: Operation not permitted."
let me know if any idea on how to solve this.
I've got a image upload script that works on my Apache on IIS development server, but on the Apache Lunix live server, although the images are uploaded correctly and the MySQL database is updated correctly, I can't view the images.
Viewing the HTML source, checking both the FTP files and the database values, all look OK.
But the image doesn't show, just the white box with the red cross in the corner.
If I try to copy the shortcut of the image and open it in a separate window, I get the following:
I'm not sure what to try next, it seems strange that the files/database/source look good but it just won't show!
I've tried both $HTTP_POST_FILES and $_FILES to upload the images, but both have the same result.
Change the File Permission for images you are uploading, You Apache Server doesn't have permissions to read the image file.
So usually people have Apache Server run as a particular user, which has read (may be write ) access to such content