I had this working about a month ago, I cannot think of any new environment change etc that would effect but can someone help me get to the bottom of it please - I have about 5 hours to fix it
Usually I have a script which builds the command (it uploads anything between 0-250 files nightly) unfortunately when I execute the script I receive the following output:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 7095 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
I receive that for every single file - it contains the total but it doesn't actually complete the transfer - no errors are reported and there are no active firewalls as the servers are working on the same network. Any thoughts?
It is a production server so a reboot is not really possible.
I don't know a whole lot about CURL but have spent a long time googling and it hasn't turned up anything yet. Any help would be greatly appreciated!
The Curl command is as follows:
curl -u $SPUSER:$SPPASS -T $lines $URL >> $LOGFILE
$SPUSER = the username
$SPPASS = the password
$lines = the filename of the filename being transferred
$URL= the http addres
$LOGFILE = the log
If I run the command manually it doesn't seem to do anything, just imediately returns the prompt - if I append > logfile.txt I receive the above output.