Sign in to follow this  
Followers 0
darkleton

YouTubeTinyDownloader permissions

14 posts in this topic

If I run the youtubetinydownloader as an admin on a network, its fine, downloads and converts etc.

If a normal user runs it, it will get to the point of letting them download, then when they click the download button it will say

0/0KB - 0kb/s

and will hang there forever. I can't think what might be causing this, apart from perhaps the fact is uses @tempdir but i assumed standard users could write to there anyway.

has anyone else encountered this or know of a way around it?

thanks

mike

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

No need to be an admin for use TinyYoutubeDownloader ! Posted Image

what OS are you ?

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

windows xp.

if i run as admin it is fine. as a normal domain user here it will run, pick up the clipboard, show the quality options, but when they click the download button it loads the progress bar at the bottom and just sits there, it never downloads anything.

if i run the program logged in as that user but use "runas" to run the program as an admin it works.

i think something in the script is trying to run but needs slightly more permission than is given. thats why i was thinking perhaps the @tempdir thing. off a domain i know it runs perfectly but i need to get it working on a domain for my users.

i'll try changing @tempdir to something like @mydocsdir where i know they can write to in case it is that

Share this post


Link to post
Share on other sites

ok its not that, i changed @tempdir to @userprofiledir and it still sits at:

Progress 1% 0mb of 0mb

forever ;)

Share this post


Link to post
Share on other sites

I'm on XP Sp3 and there is no problems !


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

i don't think it is the OS that is the problem. it is me being on a domain network. there will be a security setting somewhere which is restricting something to do with this program but i dont know what.

it seems able to read the URL and get the download links back fine, it is when you click the download button that it doesn't want to work

Share this post


Link to post
Share on other sites

what i have noticed is that i had to alter your original script as the isconnected bit always failed for a normal user, even though they were connected. as an admin this worked fine.

could this be linked? as it appears to be the same thing but failing at different points

Share this post


Link to post
Share on other sites

is anyone else on a domain able to confirm if this happens to them? i'd love to use this but if i have to grant admin rights to normal users to get it working i cant

Share this post


Link to post
Share on other sites

the only other thing i can think of is proxy. users are given a proxy to use, so perhaps when it comes to downloading it can't use the proxy? is there a way of getting around that with the software (manually setting a proxy it uses?)

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

the only other thing i can think of is proxy. users are given a proxy to use, so perhaps when it comes to downloading it can't use the proxy? is there a way of getting around that with the software (manually setting a proxy it uses?)

I see the script uses InetGet to download pages, and InetGet automatically picks up on the proxy as it is used by Internet Explorer (since InetGet uses a subset of IE (or something)). If only IsConnected is giving you problems, you can you just change the function to always return 1.

Also, are you running the application from a network drive or something? That might give problems as well.

And for anyone else who is reading this thread and thought to search for YouTubeTinyDownloader but can't find it, it's called TinyYouTubeDownloader and can be found here: http://www.autoitscript.com/forum/index.php?showtopic=115416&st=0&p=835020&#entry835020

Edited by Manadar

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

thanks for the info re: inetget. unfortunately it's not just the isconnected() part, as i had originally removed that so it went straight on to running the script.

my problem is detailed in the original post, in the fact that a standard user cannot download any files, but can run the program and get links to youtube vids themselves. as an admin they can run and download.

and it's been tested running from a network drive, usb drive, hard drive, everything

Edited by darkleton

Share this post


Link to post
Share on other sites

This is most likely for security purposes.

Share this post


Link to post
Share on other sites

my apologies to all. it was a security setting with some software we use (that we are getting rid of as its useless).

sorry for wasting time. is it possible to change this to RESOLVED?

Share this post


Link to post
Share on other sites

my apologies to all. it was a security setting with some software we use (that we are getting rid of as its useless).

sorry for wasting time. is it possible to change this to RESOLVED?

Try editing your first post to *resolved*

;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0