# Copy to web folder

## Recommended Posts

is it possible to use autoit to copy a file to a web folder?

##### Share on other sites

is it possible to use autoit to copy a file to a web folder?

<{POST_SNAPBACK}>

Certainly...The question is what method(s) do you have available to access said web folder, and what (additional) tools may be required.

many topics have discussed FTP and other file xfer mechanisms which can be automated via autoit or standard .cmd files. Even the basic ms ftp client has scripting capability....

Simplest path to success:

1) how are you doing it now?

2) Find a command line tool that does the same thing.

3) use autoit to automate the command line tool , incorporating the level

of error checking / prettiness you require.

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

##### Share on other sites

Certainly...The question is what method(s) do you have available to access said web folder, and what (additional) tools may be required.

many topics have discussed FTP and other file xfer mechanisms which can be automated via autoit or standard .cmd files. Even the basic ms ftp client has scripting capability....

Simplest path to success:

1) how are you doing it now?

2) Find a command line tool that does the same thing.

3) use autoit to automate the command line tool , incorporating the level

of error checking / prettiness you require.

<{POST_SNAPBACK}>

1) Currently I am coping the file from Windows Explorer to a connection in My Network Places. There is a user and password that is required to open the connection.

2) This would be great to find. I have done some searching and was unable to find anything. Any suggestions.

3) If I can find a command line utility, I dont thing I will have any issues writing this.

Thanks for the help.

##### Share on other sites

1) Currently I am coping the file from Windows Explorer to a connection in My Network Places.  There is a user and password that is required to open the connection.

2) This would be great to find.  I have done some searching and was unable to find anything.  Any suggestions.

3)  If I can find a command line utility, I dont thing I will have any issues writing this.

Thanks for the help.

<{POST_SNAPBACK}>

From DOS:

copy C:\path\to\file.txt \\server\share\path\to\destination.txt

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

##### Share on other sites

From DOS:

copy C:\path\to\file.txt \\server\share\path\to\destination.txt

<{POST_SNAPBACK}>

that works fine for a file server, but it doesnt work with a web folder.

##### Share on other sites

that works fine for a file server, but it doesnt work with a web folder.

<{POST_SNAPBACK}>

You can use "Shell.Application" [.namespace($sDest).CopyHere($sSource)]

That (should) work for simple http:\\... (=$sDest). For HTTPS or WebDav you need an extra tool, like NetDrive.exe (freeware), which let you assign a drive letter for the webfolder. HTH, Reinhard Edited by ReFran #### Share this post ##### Link to post ##### Share on other sites You can use "Shell.Application" [.namespace($sDest).CopyHere($sSource)] That (should) work for simple http:\\... (=$sDest). For HTTPS or WebDav you need an extra tool, like NetDrive.exe (freeware), which let you assign a drive letter for the webfolder.

HTH, Reinhard

<{POST_SNAPBACK}>

thanks, NetDrive solved my problem.

## Create an account

Register a new account

• ### Recently Browsing   0 members

×

• Wiki

• Back

• #### Beta

• Git
• FAQ
• Our Picks
×
• Create New...