Sign in to follow this  
Followers 0
gottygolly

Downloading from a network drive.

2 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

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

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