How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Hanginium65 …gzip import tarfile # Create a password auth plugin auth = v3.Password(auth_url='https://cloud.… project_domain_name='Default') # Create session keystone_session = session.Session(auth=auth) # Create swiftclient Connection swift_conn = Connection(session=keystone_session)… Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Salem First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c -f foo.tar.bz2 foo_1.txt foo_2.txt… Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Hanginium65 Good day, Salem. My apologies for taking so long to reply to your suggestion. I refactored my code to read the contents of the tar.bz2 file and then pass them as a file-like object to the 'put_object' and also to change the content type for the file transfer to "application/octet-stream". The first was sent through to object storage … Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Salem I don't understand why you need to extract all the files from the compressed `tar.bz2` just to upload to a backup. Also, line 69 is now meaningless having just posted only a snippet of the code. Before the error, what was the last `logger.info` message? Session destroy not working.... Programming Web Development by lordx78 auth.php [code=php] <?php // start session session_start(); // convert username … auth.log gone Hardware and Software Linux and Unix by shwick …I wanted to separate the cron logs from the auth logs, so in /etc/syslog.conf I …cron.log". I also wanted to cleanse the auth logs, so I deleted all of them. I…login via ssh, but there were no auth logs- a new auth.log wasn't created. The cron … to cron.log though. I tried creating an auth.log and restarting but that didn't work, … Re: auth.log gone Hardware and Software Linux and Unix by shwick …with "sudo touch auth.log" and changed it's permissions with "sudo chown syslog auth.log", "…sudo chgrp adm auth.log" and "sudo chmod …had to restart the machine. sshd then started logging to auth.log properly. I'm a little concerned with the first… Auth Object Programming Software Development by adam291086 … on a soap server. for example [CODE] cpLatestBrief.authValue = new auth(); cpLatestBrief.authValue.username = "username"; // your aql username cpLatestBrief… Re: Auth Object Programming Software Development by adam291086 … using SOAPpy but have no idea how to do the auth object. I have tried doing [code] from SOAPpy import WSDL… Re: Auth Object Programming Software Development by adam291086 … by using an API key. I need to use and Auth object. If i do something like [code] from SOAPpy import… JSON Auth Request Programming Software Development by Jazerix …to do a request with an authorization. You get the auth from "https://www.google.com/accounts/ClientLogin?accountType=GOOGLE….Create(uri); httpWebRequest.Headers.Add("Authorization", "GoogleLogin auth=" + AuthID); WebResponse response = null; try { response = httpWebRequest.GetResponse(); … Re: Where to find flexi auth function Programming Web Development by minitauros Of course, that could be :). But I can't tell for sure, as I don't know the flexi auth system. -- Ok I've downloaded the flexi auth package and can't find the function as well. Are you sure it is an existing function? Re: Where to find flexi auth function Programming Web Development by renierdbruyn I am using the same as this one: https://github.com/haseydesign/flexi-auth . the directory you will find it in is: `flexi-auth / library_files / application / libraries / Flexi_auth.php` removing server auth breaks connection to database? Programming Databases by rickya100 … crapping it because when I take of the integrated windows auth and enable the anonymous access the site can no longer… HTTP Auth (.htpasswd) Not Working In CGI-BIN Hardware and Software Linux and Unix by samarudge Hi, I am trying to HTTP Auth protect a directory in my cgi-bin directory. I have … Where to find flexi auth function Programming Web Development by renierdbruyn Hi, Can some one tell me where I can find the function `get_user_by_identity_row_array() `in the flexi auth system? it is usauly called like : $this->data['user'] = $this->flexi_auth->get_user_by_identity_row_array(); I have looked every where, but maybe I’m missing it.. where can I find this? Thanks in advance. Re: Where to find flexi auth function Programming Web Development by renierdbruyn @minitauros, I have gone through all flexi auth files, I cant find it any where... @flash Thanks I will try this, but I am looking for where the function itself is declared, I want to see how it works and edit it( I want to add fields). Re: Session destroy not working.... Programming Web Development by carobee [QUOTE=lordx78;557648]auth.php [code=php] <?php // start session session_start(); // convert username …){ echo " Please login"; ?> [/code] [/quote] in your auth,php script, once the user is verified try setting a… Re: Session destroy not working.... Programming Web Development by ryan_vietnow redirect your page to somewhere so that when back button is clicked he cannot go back to the auth.php. change this: [code=php] echo " logged. Out."; [/code] to: [code=php] header('Location:index.php'); [/code] Check existing users in the database Programming Web Development by goldeagle2005 …;") { alert("Please enter a valid username"); document.auth.username.focus(); return false; } return true; } function password_v() …=="") { alert("Please enter your name"); document.auth.name.focus(); return false; } return true; } function add_v()… Error while trying the update query Programming Web Development by goldeagle2005 … { alert("Please enter a valid username"); document.auth.username.focus(); return false; } return true; } function…{ alert("Please enter your email address"); document.auth.email.focus(); return false; } return true; } &… cakephp: redirect is not passing parameter from one controller to another controller Programming Web Development by vaanipala …if (isset($this->Auth)){ $this->Auth->userModel=array('MerryParent'); $this->Auth- >loginAction=array('controller…controller'=>'motor_developments','action'=>'search'); $this->Auth- >logoutRedirect=array('controller'=>'merry_parents','action'=&… Cin Keyboard inpout to const char* Programming Software Development by losh177 …[*]void Book::setAuthor(const char *auth) [*]{ [*] author = new char[strlen(auth) + 1]; [*] strcpy_s(author, strlen(auth), auth); [*]} [*]Book::~Book() [*]{… [*]void Record::setPerformer(const char *auth) [*]{ [*] performer = new char [strlen(auth) + 1]; [*] strcpy_s(performer, strlen(auth), auth); [*]} [*]Record::~Record() [*]{ [*]… Whats wrong with my code for sending text messages? Programming Software Development by lolwtf …As New SmtpClient(strServer, strPort) SmtpMail.Credentials = auth SmtpMail.Credentials = auth.GetCredential(strServer, Convert.ToInt16(strPort), "login"…)) Dim sendemail As New SendEmail SmtpMail.Credentials = auth SmtpMail.Credentials = auth.GetCredential(strServer, Convert.ToInt16(port), "login&… NodeJs Express display form search results Programming Web Development by nanakumi75 …flight search form in index.hbs <form action="/auth/flights" method="post"> input details here….js app.use('/',require('./routes/pages'); app.use('/auth',require('./routes/auth'); //auth.js @ routes/auth const express = require('express'); const router = express… Removing space from string Programming Software Development by magicmarkuk … whatever other invisible character it is)? The string value is $auth and the relevant part of the code (I think) is… as follows: [CODE]if ($productauthor =~ /\|\|/i) { @auth = split(/\|\|/, $productauthor); foreach $auth (@auth) { $auth =~ s/^\s+//g; $auth =~ s/\s+$//g; $authorurl .= "\&nbsp… html/php form for .htaccess validation Programming Web Development by Boat_2005 … = $_COOKIE['username']; if (!isset($PHP_AUTH_PW)) $PHP_AUTH_PW = $_COOKIE['password']; $auth = false; // Assume user is not authenticated if (isset( $PHP_AUTH_USER ) … setcookie('password',$PHP_AUTH_PW,time()+36000 ); break; } } } } if ( ! $auth ) { header( 'WWW-Authenticate: Basic realm="Private"' ); header( '… syntax error, when trying to upload and use file Programming Web Development by itamardori3 …/> </form> <?php } /* End the Auth::LoggedIn() if */ else /* else - they're logged in,…id, formatted properly */ $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid); ?> <img … CSS Problem Digital Media UI / UX Design by itamardori3 …/> </form> <?php } /* End the Auth::LoggedIn() if */ else /* else - they're logged in,…id, formatted properly */ $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid); ?> <img … Moved my PHPBB forum from shared to VPS - now I have serious issue Programming Web Development by techman41973 … permissions to see orphan attachments... $own_attachment = ($auth->acl_get('a_attach') || $attachment['poster_id'] ==…'); } } else { $row['forum_id'] = false; if (!$auth->acl_get('u_pm_download')) { send_status_line(403, 'Forbidden'); trigger_error('SORRY_AUTH_VIEW_ATTACH'); …