Bash Script CURL POST Error
Budget $10-30 USD
- Freelancer
- Emplois
- Script Shell
- Bash Script CURL POST Error
Job Description:
Please read carefully, otherwise i dont answer auto bids.
I get error FILE NAME TOO LONG
#!/usr/bin/bash
BACKDIR=/home/ykose/yedekSBOX
DATE=`date +'%m-%d-%Y'`
WPDOSYA=`for file in $BACKDIR/*$[login to view URL]; do echo "${file}"; done`
BASE64=$( base64 $WPDOSYA -w 0)
curl -X 'POST' \
'[login to view URL]' \
-H 'accept: /' \
-H 'Authorization: Bearer $2b$10$DQmaItvVtZUUpEDCwGLPCOazPAms02NytCa81uWTQgVqJcS4_5g4m' \
-H 'Content-Type: application/json' \
-d @< '{
"phone": "999999999",
"filename": '[login to view URL]',
"base64": "data:file/pdf;base64", '$BASE64',
"isGroup": "false"
}'
How can i fix the FILE NAME TOO LONG error?
$20 for the correct answer.
6 freelances font une offre moyenne de 18 $ pour ce travail
Hello, I have gone through your outsourced requirements " Bash Script CURL POST Error " and have analyzed that I have right skills ( PHP Python Linux Shell Script MySQL ) to execute your esteemed project. I wil Plus
⭐⭐⭐I can start now and I am confident that I can do it ⭐⭐⭐ I have 10 years of experience in this field and I have these skills (MySQL, Linux, PHP, Shell Scriptand Python) so just check my reviews and please have a look Plus
Hi - happy to help - please send me the githup repo and i will try my best to solve your problem - I am a Full Stack Developer with 15+ years of experience with 120+ clients - waiting for your reply. Thanks
Here are a few possible solutions: Use a shorter file name: One of the easiest ways to fix this error is to simply use a shorter file name. This will reduce the length of the file path. Use the --shorten-file Plus