Sign in to follow this  
Followers 0
boogieoompa

FTP Folders

6 posts in this topic

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

Share this post


Link to post
Share on other sites



just open as an argument to explorer.exe

run("explorer.exe ftp://ftp.adobe.com")

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by ZacUSNYR

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

#5 ·  Posted (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 by iamtheky

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

Sorry replied too soon. Thanks thats exactly what I needed.

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