Curl - upload multiple attachment arrays to server webpage
The html page of the form data is as below
I am trying to post files and upload using the curl command, tried the below two commands
The image of the webpage(public one if you are registered)
Please give me a hint on how to achieve this, it is an array of selecting the attachments
---------- Post updated at 10:37 AM ---------- Previous update was at 06:25 AM ----------
Tried with the below command
But it says "invalid upload" in the resulting webpage. That means the upload button works, something wrong while sending the attachment
---------- Post updated at 10:41 AM ---------- Previous update was at 10:37 AM ----------
Also the webpage is a forum, it is same as clicking on "Manage Attachments" button after create a new thread. You will see an array of Browse button with an ' upload' at the end
Last edited by Don Cragun; 04-16-2017 at 05:40 PM..
Reason: Add missing CODE tags to 1st update.
i need a javascript html file for uploading multiple files with abitlity to select many files at a time and a cgi-perl script at the back end on server. (0 Replies)
Hi,
I am using curl to hit a url using http in solaris 10 using commandline, I want to transfer an attachment(using multipart curl -F) also as a part of the request. If anyone has used kindly help me with the syntax. I am using below command:
Code:
/usr/local/bin/curl -v... (1 Reply)
hi
please help me out here,
i want to use curl command in shell script to test web pages,
what i have is an opening page, when i click on a button on opening page, the next page comes up and then i have to upload a file n then click another button to submit and then comes the output page,... (2 Replies)
salmo allim warhmat allah wa brakato
i face another problem with ftp protocol
i have my server when upload with ftp on my server
it upload when access from internet with URL can't find any thing
that i get from ftp commend that upload in
Current directory is /home/user name
when... (5 Replies)
hello,
I'm trying to upload a file to this ftp server and others ftp://ftp.byethost12.com as you can see in the output of CURL using the -v option
curl reports that the upload succeeded but when i connected to the server with file-zilla there is no file uploaded the same command
upload files... (5 Replies)
Hi Experts,
Please help me to write the expect script for uploading multiple files in one shot . Below is my program that I have written.
#!/usr/local/bin/expect -f #/home/kulbhushan/sftp_prog.sh
# procedure to attempt connecting; result 0 if OK, 1 otherwise
proc connect {passw} {
expect... (1 Reply)
Hello,
when im downloading an webpage from command line (CLI) by curl or wget the target website is loaded like i load it from browser? meaning target server connect to database and render data from mysql? Or only static content is downloaded? (2 Replies)
Hello,
What I am trying to do is to get html data of a website automatically.
Firstly I decided to do it manually and via terminal I entered below code:
$ wget http://www.***.*** -q -O code.html
Unfortunately code.html file was empty.
When I enter below code it gave Error 303-304
$... (1 Reply)