Quantcast
Channel: Getting empty data while reading text file and send read data to url by cURL in linux - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by tsohr for Getting empty data while reading text file and send read...

I can think some possible causes. Your program writing the file read_data.txt, it locked the file exclusively, so curl couldn't open the file. In this case you can easily test with another program to...

View Article



Getting empty data while reading text file and send read data to url by cURL...

I have text file called read_data.txt in /var/www/html/ directory. I want to read data by curl while file contents will change. So I have created a bash script. It is reading data while the content is...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images