Jump to content
 English      
???en.wpa.text.hpweb2003.home??? ???en.wpa.text.hpweb2003.prodserv??? ???en.wpa.text.hpweb2003.support??? ???en.wpa.text.hpweb2003.solutions??? ???en.wpa.text.hpweb2003.buy???
» ???en.wpa.text.hpweb2003.contact???
     Forums advanced search
HP.com Home
IT Resource Center Forums > Linux > networking

Auto copy batch file

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: Auto copy batch file      Add to my favorites
abdullah shboull
Nov 3, 2009 18:52:33 GMT   

I want to automatic copy image (JPG) from folder in XP OS and paste it and overwrite it if exist in linux OS.
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Steven E. Protter This member has accumulated 80000 or more points
Nov 3, 2009 20:27:58 GMT    Unassigned

Shalom,

There is a program for XP/Vista/yuckware called winscp

Go to download.com and search for it.

It will do this job.

You can also use ptty to do the job.

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

SEP
abdullah shboull
Nov 5, 2009 08:24:38 GMT    N/A: Question Author

Thanks a lot for your response.
Actually I need to use automatic snap shot program by XP OS and save the image at a folder, then I want to use a program that automatic copy (like a batch file or script code) this image every five minute and paste it and overwrite it if exist in Linux folder.
Matti Kurkela Expert in this area This member has accumulated 7500 or more points
Nov 5, 2009 17:31:27 GMT    Unassigned

SEP's suggestion has merit. The PuTTY package includes pscp, a command-line tool for file transfer.

http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter5.html#pscp

Find the correct pscp options for your situation, so that pscp won't need to ask you anything more after entering the command (i.e. set up SSH key authentication or use pscp's -pw option to specify the password on the command line).

When you know the command that will copy the file where you want without further interaction, use the Task Scheduler function of Windows to run it every 5 minutes:

http://support.microsoft.com/kb/308569

The UNIX way: if you have a complex task, split it into simple parts. Find tools that can each do one part of the job. Then use them all together.

MK
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2009 Hewlett-Packard Development Company, L.P.