Directory Questions
Ad
How to quickly check if folder is empty (.NET)?
I have to check, if directory on disk is empty. it means, that it does not contain any folders/files. i know, that there is a simple method. we
"Domain Users" group is empty when I use DirectoryServices "member" property
I'm using the following code to get the members of a group on my domain: dim de as new directoryentry("ldap://" & groupdn)
FatFs read/write in root work but not in subfolder
Already thanks for your time. i'm a little lost on how can i debug a problem i have with fatfs: write then read files inside folder brings
How can I get a list of all files with a certain extension from a specific directory?
I'm using this code to get a list of all the files in a specific directory: opendir dir, $dir or die "cannot open dir $dir: $!";
Referencing a nib file in a subfolder of an Xcode compiled Cocoa app bundle
If i have a directory in my xcode project (not a group), which is added to the main target, and compile it, how do i instruct an nsviewcontroller
Calling a webservice from a subfolder
I'm using asp.net and i'm trying to execute a webmethod from jquery. i have the following file structure: /mywebservice.asmx
Example client implementation for the Service Location Protocol?
Does anyone know of a good example implementation of the service location protocol that can be build/ran on a windows box?
How to save a public html page with all media and preserve structure
Looking for a linux application (or firefox extension) that will allow me to scrape an html mockup and keep the page's
Searching directories for tons of files?
I'm using msve, and i have my own tiles i'm displaying in layers on top. problem is, there's a ton of them, and they're on a network server. in
How to access the notes field on a GroupPrincipal object
I query all security groups in a specific domain using principalsearchresult<principal> results = ps.findall();
Ad
create_directory("/MyPath/.MyFolder") is not creating directory; expected that a hidden directory is created
I want to create a hidden directory in boost 1.7.3 . when i try : boost::filesystem::create_directory("/mypath/.myfolder");
How to redirect C:/xampp/htdocs/myfolder to C:/somewhere_else?
I installed xampp and have an apache server running. my files are located on c:/xampp/htdocs and are acessible from a www.mydomain.etc, but i
F# Interactive Developement DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Bob\AppData\Local\Temp\MyFolder\'
When using f# interactive apparently this line of code will search in the path shown in the subject line. let files =
What is the best way to implement mixed ASP.NET forms auth (AD + DB)?
I want to implement forms authentication on an asp.net website, the site should seek the user on the database to get some data and then
How to extract elements of a list into a folder in Python
I have a list of image objects. i want to build a folder comprising the images of this list, so that i can download the folder. is there a way to
directory listing C (using dirent and stat)
Im making a directory listing application that prints a directory listing just like the ’ls’ and ’dir’ commands in linux and windows
Reading first 10 folders in directory / R Programming Language
I have been working on a dataset of folders and subfolders (folder -> subfolder - > file) i have trouble reading the first 10 folders of
Is there a way to have a directory run through the main program?
I am having difficulty passing a directory to the code below. when i am prompted to enter a directory, i do as shown below: c:\users. i get a 0
Is it possible to point a local instance IIS to a shared windows file server as the home directory?
I'm just beginning work with iis, .net, etc. so i apologize if any of this is unclear. i recently installed a local instance of iis and it's up
Attempting to update a user's "connect to:" home directory path in AD using C#
I have a small application i am working on that at one point needs to update a user's home directory path in ad under the profile tab where it
How do you consistently retrieve the path information from the query in php? (/index.php/foo/bar)
Basically if the user requests: index.php/foo/bar i need "/foo/bar" and for index.php
Ad
When it comes to privileges management, is Active Directory still a match against Node.js modules?
I am currently working on a web app that will have to handle users and user privileges (like in most web projects). i intend to develop it around
Equivalent of Python's help() in javascript or nodejs
When i want to know the number of arguments and argument types of a function in python, i just use the function help() to get them. but in
AADSTS50011: The reply URL specified in the request does not match the reply in Laravel Socialite
I am using laravel-5.8 for user azure ad authentication. i installed this package: "socialiteproviders/microsoft-azure": "^3.0",
Failed LDAP authentication using passport-ldapauth on Node.js
Hi i'm new to openldap and nodejs. i'm trying to create openldap authentication and use a simple node app to test that authentication against the
How to run node app from sub-directory with .env variables of that sub-directory?
I have a node.js app called app.js and its stored in the directory b. to run this script correctly it needs enviroment variables. these
How can I add media files in laravel?
A user can register/sign up as either a job seeker or an employer. if he is a job seeker, he can create a profile on the create profile page. on
Storage Access Framework - failing to obtain document tree from uri (returned from Drive app)
My android app wants to create a folder in google drive and get the uri from the drive app on the device. it sends an intent, you can see
Reading values from a key within a Directory within a List from a JSON file using Python
I've got a rather ml ugly json file that i'm trying to pull values from. below is the first entry on the list: [
How to set PIPENV_VENV_IN_PROJECT on per-project basis
I want pipenv to create its virtualenv in $projectdir/.venv automatically for everyone who checks out the project. so far, i
How can I sort the contents of sub folders and files with date created and make change (sort by) in the windows explorer of the system folder?
How can i sort the file and subfolders inside the main folder? i have a folder (buro) in desktop with 1152 subfolders and 12 .csv files
Storing MSAL Graph API token in client side React and reusing it until expiry
I am fairly new to react. this question is related to storing the authentication token in the client side and reusing it until expiry. i
Ad
SSO with a 3rd party using Azure AD
I have an organization wanting to do sso using saml 2.0 against my node.js based web app. when clicking a link for x.myapp.com, i want to utilize
Microsoft Azure Translation API authentication methods
I'm trying to set up microsoft translation api (part of ms cognitive services) in my android app (using java). i'm relatively new to android
Accessing a folder in Google Drive from Colaboratory
I want to be able to read and write files to a folder in google drive from colaboratory but cannot figure how to access a specific folder.
How to create folder in MTP device by c# windows application?
I'm trying to transfer files to android mtp device in windows app made with c#. how do i create folder on mtp device in windows app? i'm
Cannot access hidden folder on android version 11 device in flutter
I am making an app that shows whatsapp statuses. the whatsapp status is stored on a hidden file called ".statuses" in the whatsapp
python3 convert files (from folder and sub folder) to json file on specific format(item include folder name and file name)
Python3 convert files (from folder and sub folder) to json file on specific format(item include folder name and file name) i just can list
Writing a function that returns a list with the name and content of subfolders in r
I'm trying to write a function that displays the subfolder names and contents. i have the following written code. however when i call the
Ldap simple user search return LDAP: error code 53 - Unwilling to process the unindexed search operation
I am not a ldap expert, all i try to do is to run some filters on users, like get user starting with some prefix. i am getting an error every time
How do I hook up a cross platform Flutter app with Azure AD
I have a cross platform application (mobile, desktop and web) created in flutter that i would like to set up to be authenticated with azure
Laravel - No reply address is registered for the application in Socialite Azure AD Login
I am using laravel-5.8 for user azure ad authentication. i installed this package: "socialiteproviders/microsoft-azure": "^3.0",
Error: Class 'Request' not found in Laravel config\azure-oath
I am using laravel-5.8 for a web application. in order to integrate azure ad sso, i installed this package in my application:
Ad
Moving many files into multiple subfolders using Python or tool
Im completely new at python and have been given a task at work, im entirely in over my head with this one however. i have thousands of
Flutter how get local download folder with path_provider
At the moment i build a chat similar in wahtsapp. i would like upload some local files (pdf, txt, image...). like this:
Add the email address for multiple security groups from a csv file using powershell
I have a csv file with a list of groups with their email addresses. i need add these email addresses to the mail attribut security group in ad (no
How to save a cropped image with cropImage() to a specific folder in Flutter
My code does the following: picks an image with pickimage() (from image_picker package) then it takes the
Magic code while OAuth using Botframework. Any way around?
While logging into the bot, using botframework oauthprompt function, user is required to log in on microsoft page and then asked to copy magic
Avoid using environment variables when doing variable imports
I have been working with a project for which i give the choice of using two backends (backends 1 and 2, let's say) following what they do in
msal in React SPA - use access token received from AcquireTokenRedirect
I have a react spa and i'm using msal to authenticate microsoft users using loginredirect. after the login, i'm acquiring an access token silently
Scikit-learn: Loading images from folder to create a labelled dataset for KNN classification
I want to do handwritten digit recognition using k-nearest neighbours classification with scikit-learn. i have a folder that has 5001 images of
Can not get proper firebase image save in document directory in swift 4 iOS
I'm saving firebase image in document directory !! for uniqueness my document directory name is firebase image name ! i have check with a
How to fix 'connect ETIMEDOUT' while generating authorization token via azure active directory?
Actually, i need authorization token so that i can pass it as a header in to run 'create pipeline run' api of azure in node.js.but here i'm again
Ad
If this is not a DIR in my what could it be? Trying to access a file
What could id.json be? i'm trying to access/or inspect the file. directory of c:\users\ssand\.config\solana 02/09/2022 12:42 pm
"BadRequest" error while using SendMail request of Microsoft Graph API
I am writing a python script to send a mail using the microsoft graph api. the mail is sent to only those ids which exists in our aad. i
How can I get group members from an AD group that only contains security groups?
I have 3 groups (hr, compt and fin) and their groups contains only security groups. how do i extract their members of their groups?
Customizing sign in commons page for Microsoft Azure (using react-adal)
I have a react application i am using with azure active directory to allow my users to log into my company's web services. i have a pretty basic
Where to store Active Directory credentials in a Node.js application
I'm pretty new to node.js and have been asked to create an application (website) where users can login with their ad account that has elevated
python-ldap -- User Creation in Active Directory -- problem 2003 (BAD_ATT_SYNTAX) cn and DN
I am writing a python script using the python-ldap module with the purpose of creating users in active directory, windows 2012r2 server.
Laravel - How to combine Active Directory Authentication with User Authentication
I am using laravel 5.8 for authenticating users from database. presently, i can login and authenticate the users from the application and
How do I get azure ad auth up and running?
After searching for days i still dont know how to get my laravel web app to work with azure ad auth. i want the people to sso via azure ad. how is
Synchronizing laravel app password with Active Directory
We have gotten a request to synchronize the passwords for a saas app our company produces with active directory for a customer. i have
Getting root directory contents
I have an app with data stored (by previous developer) in user-based directories: context.getdir(userloginhash,
flutter: how to create/write a file to a specific directory path
I'm trying to create/write a file to a specific directory. i already have my code but the problem is i always got an error saying:
Ad
Getting AAD App access token to call Azure App service with client secret
I am writing a nodejs cli to deploy aad-auth protected web api via azure arm template. facing issues in getting access-token to invoke the web
How do I change AD user password by using Adldap2-laravel package?
I would like to change the password of a user in ad since there are no attribute for password in ad. currently running laravel framework
Error when making API call to MS Graph via botbuilder-js SDK
I wrote a partial typescript version of
observing the outlook events via Microsoft Graph
I would like to observe the office 365 outlook calendar events by using microsoft graph. i created a client instance with the
How to change the file extension in files in a list
I have this code for opening a folder with these directories. some of them have the extension html but not all of them. how can i change all the
How do I browse directories for json files (JavaScript)?
I want to browse directories for json files and merge all json files into one json file per directory. my javascript skill is at beginner
How to get-adgroup members by their Name or SamAccountName
I would like to extract members from an ad group that contains members and security group. example, group_a: user1
connect to Sql Server with Active Directory from nodejs on a linux machine
I have a nodejs service which runs on a linux machine. i need to connect to sql server (mssql). i am using mssql package
Import python module from parent subdirectory
I tried different methods shown on multiple sites but couldnt figure out the problem. i need to import "demo1.py" in "demo2.py". here is my folder
Unable to log in with guest user in Azure Active Directory
I used azure active directory for the bot authentication in microsoft bot emulator. while login with bot it allow only the users who had the azure
How can I authenticate users present in my Azure AD without creating an Azure App (at App Registrations)?
I have an azure ad app (at app registrations) using which i authenticate my users by obtaining the token. this requires the client id as well as
Ad
How to use azure AD authentication from node.js server side non interactively
I have configured azure ad service and an user in it and used react-adal to get the token, which worked fine.but now i need to change this flow
Set CWD for NPM script that runs a binary
I have a super-project that hosts sub-projects and contains common dependencies: super node_modules .bin foo-binary
ElectronJS autostarting for current user but not for all users on machine
I have create a electronjs application (for windows) which should be auto launch on login and restart. application installer is machine wide (not
Azure AD Authentication with .NET Core Web API
We have a simple setup. frontend web application gets a token from azure ad. frontend uses that token to authenticate requests to our backend .net
Client added new sandbox for Dynamics 365, and when trying to insert data I'm getting a 401 error
We had our client create a new sandbox for us to test imports without workflows (imports work on the original sandbox.) i'm authenticated into
ERROR 404 for js and css files, Laravel 5.8
I get error 404 when trying to get the path of my css and js files. any help will be appreciated, i'm using laravel 5.8 <link
File::deleteDirectory('path') does not remove the directory
I'm trying to remove a folder with images in it. here is my method for removing the file public function deletecar($id) {
Getting backward slash while unzip folder containing files like: /sdcard/folder/subfolder\file.xml in android
My zipped folder contains sub-folder with files but while extracting it, i am not able to achieve the same hierarchy. i'm getting the unzipped
Microsoft user not getting stored in firebase
I have setup microsoft auth with firebase & this package:
azure AD: The reply url specificed in the request does not match the reply url configured in the application
I want to make login with microsoft possible for my app (with firebase) im using this package
Accessing file in my directory using where one file is working good but other one is not being imported(?)
I am trying to access a file, maxoflist.py in a directory using vs-code. i expect the maximum value in the list to be printed, but it
Ad
Scope/Roles claim not available in the Client Credentials access token
After fetching the access_token (grant_type=client_credentials) from
AADSTS700016 Adal problem with wrong tenant directory
I am having a problem with my react application and authentication with adal-ms-react
python How do I import multiple .txt files in a folder to add characters to each .txt file?
There are text files of various names in the folder 'a'. i want to read all of these text files and add the letter 'b' to each text file. what
Adding Owners to Azure AD Group via Python sdk
I am trying to create create an ad security group and add an owner to the group . i am executing this in python. i am able to create the
Is there a way to check if requiredResourceAccess has been granted on an application via the Graph API?
I am registering an application in azure ad using the graph api (via the nodejs sdk) i need to wait until a site admin has granted access to the
Check user credentials in Azure AD using PHP
Our company has a mobile app. until now we used ldap authentication using php code to login on the app using the company's active directory user
oAuth 2.0 access token validation node.js
I have a backend api written in node.js express framework. i need to implement oauth 2.0 (client_credentials grant type) with it. i came to know
Node.js is unable to find a file in another folder
I have a discord bot i'm maintaining since a year, and a couple of months ago i changed a bit the file structure to clean it up and make it easier
Working with unusual date formats in Powershell?
I am working on a gui-based powershell tool to help users easily find out when their ad password is going to expire. due to covid restrictions,
Changing (not resetting) a users password using PHP LDAP
I'm trying to change a users password inside an microsoft active directory using php-ldap. the problem is when trying to change the password with
URL folder system Django Python
How is it possible to move through the folders using url like in dropbox? example: i have an url to a file
Ad
Import SCSS file with font url into different scss files with different folders level
I have a global scss file that have a font-face: @font-face { font-family: "my font"; src: url("../../fonts/my-font.ttf"); }
flutter where is iOS Deployment Target ( inside project runner and inside target runner )?
I have a problem with pod install. i found the solution below:
Ad
Blog Categories
Ad