Jump to content

FTP Folders


Recommended Posts

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

just open as an argument to explorer.exe

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

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...