boogieoompa Posted December 22, 2010 Share Posted December 22, 2010 Is there a way to open a secure (username/password) FTP folder in the windows folder. I know how to open a folder programatically but not open it in the traditional sense (what an end user would think of opening an FTP folder). Basically in my GUI I would like a button that opens a specific folder in the FTP folder and passes the username and password while opening it in a typical folder. Currently I can only do this within my gui. Thanks Link to comment Share on other sites More sharing options...
iamtheky Posted December 22, 2010 Share Posted December 22, 2010 just open as an argument to explorer.exe run("explorer.exe ftp://ftp.adobe.com") ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
ZacUSNYR Posted December 22, 2010 Share Posted December 22, 2010 (edited) And you can pass the credentials as ftp://username:pass@ftp.adobe.com ShellExecute("explorer.exe", "ftp://username:password@ftp.site.com") Edit : If this doesn't work and you have IE 8 - google IE8 and FTP sites. Under tools/Options/Advanced you should see something like 'Enable FTP view outside of Internet Explorer' which needs to be checked. Edited December 22, 2010 by ZacUSNYR Link to comment Share on other sites More sharing options...
boogieoompa Posted December 22, 2010 Author Share Posted December 22, 2010 But what about username/password. Currently I am able to get the window open but have to use the Send() command to pass thru credentials. Link to comment Share on other sites More sharing options...
iamtheky Posted December 22, 2010 Share Posted December 22, 2010 (edited) are you attempting to mask these credentials, such that passing them in the URL is inadvisable (ftp://username:password@hostname)? Though, I suppose you have them stored in your current autoit which is equally so. you could also just supply the username in the URL and have it prompt for the password, and then send it. Edited December 22, 2010 by iamtheky ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
boogieoompa Posted December 22, 2010 Author Share Posted December 22, 2010 Sorry replied too soon. Thanks thats exactly what I needed. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now