Jump to content

Downloading from a network drive.


Recommended Posts

I want to download a folder from a network drive using autoit but I can't figure it out

I tried to use InetGet() but it didn't work from what I could tell.

Please help.

Code:

#include <InetConstants.au3>
$d = InetGet("","Folder location",$INET_FORCERELOAD, $INET_DOWNLOADWAIT)

I think it's saving it but I don't know where it is saving it.

Thanks in advance.

Edited by gottygolly
Link to comment
Share on other sites

you want filecopy, it works just fine with network drives.  

*i used "runwait(xcopy...)"  in all my recent automation of file transfer to network drives, but only because of the logging and output available by switch and argument.

Edited by boththose

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

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...