I'm (hopefully) trying to replace a WS_FTP (Windows program) job with a curl command in a script on UNIX.
In short, this process has been in place for some time, and in curl I am getting directory perm issues, which does not seem to be accurate, since this process has been in place in WS_FTP for quite some time. I am suspicious I have a syntax error of some kind.
Any ideas? I need to use ssl, and I login as a particular user, and I have to place the file into a different directory than what is set as the default when the user logs in. Here is what I have:
Result:
Thank you so much for any tips provided. ---------- Post updated at 10:52 AM ---------- Previous update was at 10:24 AM ----------
Hmm. I may be out of luck using curl. I received the following note from the admin of the target server:
"...you need to plece the user id, password, change directory and put or get command each on completely separate lines. We do not work on a true tree structure."
So...is there a way to do this with curl?
Thanks all.
Last edited by Scott; 11-12-2010 at 02:31 PM..
Reason: More code tags
"...you need to plece the user id, password, change directory and put or get command each on completely separate lines. We do not work on a true tree structure."
???
Try this:
This User Gave Thanks to verdepollo For This Post:
Good afternnon. I need your help please to understand the basics of curl command to test web services.
Ive heard i can test a web service using this command,so:
curl http://glb_osb_fs.nh.inet:7110/serverglobal/services/StrategicPlanning/NotifyMNPAction_v1
it yields some errors, i would... (5 Replies)
I am trying to use REST API and curl in a bash script to generate a http report. The curl command at the end of the script should generate a html file but instead I get an error "HTTP/1.1 503 Service Unavailable".
This is the script
#!/bin/bash
export... (7 Replies)
Topic : cmd to check status of url using Curl
I have below 2 lines which r working fine
/usr/bin/curl -u user:pasword http://hostname
/usr/bin/curl -connect-timeout=10 http://hostname
Now I want to use user:pasword and connect-timeout parameter in one line
/usr/bin/curl -u user:pasword... (1 Reply)
hi,
i have curl command to POST a soap request to web service. I have a file (query.xml) which has all the soap message attached to it I just don't seem to be able to properly post it.
curl command
curl -s -H "Content-Type: text/soap+xml;charset=UTF-8" -H "SOAPAction:" -d @query.xml... (2 Replies)
Hello I want to use the Curl and gives me this error.
Can someone help me out
# curl http : // www .google . es
dynamic linker: curl: binder error: symbol not... (3 Replies)
Hello,
I am facing an issue while starting the apache server after compiling php and curl.
Below are the versions i am using.
php-5.2.17
httpd-2.2.17
curl-7.16.0
CentOS5.5x64
Compiling above packages without curl working very fine but when trying to compile php with curl below error is... (1 Reply)
Hi
i am trying to open HTTP by curl command.
i am tryng to do that from command or script BASH.
also iptables is off
it doesnt work i am getting an error:
curl: (7) coudn't connect to host
the scipt is:
#! /bin/bash
curl http://www.cnn.com (1 Reply)
Hi All
I am using curl in my client environment. We need to pull a file from the libraries site. All the files are having perticular URL which can be used to get the files. Only issue is, when we fire that command , it will take to authentication page 1st. once authentication is succed, it will... (1 Reply)
Hi,
I am getting below error when I do
-------------------------------
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: cURL - Details on Server SSL Certificates... (5 Replies)
I hope that I can trap curl errors, and have my shell script error out and quit if curl has any sort of problem.
For example, I have the following command in my shell script:
curl --trace -n -v --ftp-ssl ftp://xxx.xxx.xxx.xxx:2122 --user user:password -o /tmp/file.txt
Works great, except... (2 Replies)