Jump to content
Sign in to follow this  
Kris123

How to copy a file in linux file system to windows

Recommended Posts

Kris123

Dear all,

i have a file which gets updated in linux system.

To see this i used to do Telnet. How can i copy this file automatically to a windows environment and check using AutoIT.

Please help.

Share this post


Link to post
Share on other sites
jvanegmond

How would you copy the file yourself? Think about that. Then automate that process.

Share this post


Link to post
Share on other sites
Kris123

Thanks for the reply.

I never copied that file. I used to connect to linux machine using Telnet and verify.

But i want to read the file and verify automatically.

Share this post


Link to post
Share on other sites
Mecrazycoder

Use "Winscp" to copy files from linux to windows and vice verse.I don't think it is possible using scripts.


[size="4"][font="Arial Narrow"][font="Garamond"]Attitude is a little thing that makes a big difference[/font][/font][/size][indent][/indent]

Share this post


Link to post
Share on other sites
amber

Is there any other way to solve this file copy issue on WinSCP? 

I am trying to simulate a file copy(from local to remote) on WinSCP by scripting in autoIt. However, issue was met when I tried to get the item on Local side. The controlID cannot be detected by autoInfo. 

Does any one know how to get the items out from TDirView, which is the local side of WinSCP GUI?

Share this post


Link to post
Share on other sites
amber

Just found that _GUICtrlListView can be used to solved the issue I met above. Still working on that, but so far so good. Thanks.

Share this post


Link to post
Share on other sites
Cybergraph

To copy/move/get files from a file system to another I always use Autoit FTP scripts with success, even with Linux, or OS400 (IBM System i), both on DB2 and IFS. 

Edited by Cybergraph

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  

×