GoalStopper Posted March 30, 2005 Share Posted March 30, 2005 is it possible to use autoit to copy a file to a web folder? Link to comment Share on other sites More sharing options...
flyingboz Posted March 31, 2005 Share Posted March 31, 2005 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. Link to comment Share on other sites More sharing options...
GoalStopper Posted March 31, 2005 Author Share Posted March 31, 2005 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. Link to comment Share on other sites More sharing options...
Blue_Drache Posted March 31, 2005 Share Posted March 31, 2005 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}>Assuming you've already connected to the computer with your userID/passFrom DOS:copy C:\path\to\file.txt \\server\share\path\to\destination.txt Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
GoalStopper Posted March 31, 2005 Author Share Posted March 31, 2005 Assuming you've already connected to the computer with your userID/passFrom 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. Link to comment Share on other sites More sharing options...
ReFran Posted March 31, 2005 Share Posted March 31, 2005 (edited) 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 March 31, 2005 by ReFran Link to comment Share on other sites More sharing options...
GoalStopper Posted April 12, 2005 Author Share Posted April 12, 2005 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now