JC
2006-Feb-02 16:47 UTC
[CentOS] automatic transfer files between Windows PC & Centos server
Hi everyone, I have this problem and need your help. I have some files locate on windows pc that I need to upload to centos server everyday automatically and without provide password. Is there an easy way for this? I would like to use some kind of batch file because I can use schedule in WinXP to performance this job everyday. Thanks in advance, JC
Michel Daggelinckx
2006-Feb-02 16:54 UTC
[CentOS] automatic transfer files between Windows PC & Centos server
Allowing anonymous upload is a risk, soon your server will be used as a warez repository. On 02/02/06, JC <hiep at ee.ucr.edu> wrote:> > Hi everyone, > > I have this problem and need your help. I have some files locate on > windows pc that I need to upload to centos server everyday automatically > and without provide password. Is there an easy way for this? I would > like to use some kind of batch file because I can use schedule in WinXP to > performance this job everyday. > > Thanks in advance, > JC > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20060202/05d5d30f/attachment-0002.html>
Francesco F
2006-Feb-02 16:55 UTC
[CentOS] automatic transfer files between Windows PC & Centos server
On 02/02/2006 17.47, JC wrote:> Hi everyone, > > I have this problem and need your help. I have some files locate on > windows pc that I need to upload to centos server everyday automatically > and without provide password. Is there an easy way for this? I would > like to use some kind of batch file because I can use schedule in WinXP > to performance this job everyday. >You can do a .BAT file on WinXp, if there are many file, you can compress them with winzip (commandline) and then, you can copy this file on linux via scp (with user and pwd in command line). Else, you cah share a linux folder via samba without password (like public directory) and copy file via .BAT using UNC name o mapping samba-linux directory. Francesco
JC
2006-Feb-02 16:56 UTC
[CentOS] automatic transfer files between Windows PC & Centos server
I don't mean anonymous upload, but pre-set the password somehow so it doesn't ask for password during automatically upload. JC On Thu, 2 Feb 2006, Michel Daggelinckx wrote:> Allowing anonymous upload is a risk, soon your server will be used as a > warez repository. > > On 02/02/06, JC <hiep at ee.ucr.edu> wrote: >> >> Hi everyone, >> >> I have this problem and need your help. I have some files locate on >> windows pc that I need to upload to centos server everyday automatically >> and without provide password. Is there an easy way for this? I would >> like to use some kind of batch file because I can use schedule in WinXP to >> performance this job everyday. >> >> Thanks in advance, >> JC >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> http://lists.centos.org/mailman/listinfo/centos >> >--
Rex Dieter
2006-Feb-02 17:00 UTC
[CentOS] Re: automatic transfer files between Windows PC & Centos server
JC wrote:> I have this problem and need your help. I have some files locate on > windows pc that I need to upload to centos server everyday automatically > and without provide password. Is there an easy way for this? I would > like to use some kind of batch file because I can use schedule in WinXP > to performance this job everyday.Share the folder on the Windows box(*), and use samba/smbclient on the centos box to (periodically) fetch the files. (*) you'll probably have to allow File/Printer sharing through the Windows filewall, but it would be best to limit remote access to only the centos server in questino. -- Rex
Les Mikesell
2006-Feb-02 17:04 UTC
[CentOS] automatic transfer files between Windows PC & Centos server
On Thu, 2006-02-02 at 10:47, JC wrote:> Hi everyone, > > I have this problem and need your help. I have some files locate on > windows pc that I need to upload to centos server everyday automatically > and without provide password. Is there an easy way for this? I would > like to use some kind of batch file because I can use schedule in WinXP to > performance this job everyday.If it is over a local network, you can set up a samba share on the server and map it as a drive from XP, or the reverse - share a folder from XP and mount into Centos or access with smbclient. Over the internet, I'd install cygwin ssh and set up keys for passwordless access, then schedule scp commands. -- Les Mikesell lesmikesell at gmail.com
Karanbir Singh
2006-Feb-02 17:08 UTC
[CentOS] automatic transfer files between Windows PC & Centos server
JC wrote:> Hi everyone, > > I have this problem and need your help. I have some files locate on > windows pc that I need to upload to centos server everyday automatically > and without provide password. Is there an easy way for this? I would > like to use some kind of batch file because I can use schedule in WinXP > to performance this job everyday. >scp stuff over using a password-less ssh key perhaps ? or look at the unision packages, works on both ends and can ( i think ) do what you want. - K -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq
Dave
2006-Feb-02 19:52 UTC
[CentOS] automatic transfer files between Windows PC & Centos server
I use WinSCP and pub/priv keys to back up users files to a backup account on a CentOS server. I put the script in Scheduled Tasks when the PC is idle over 15 minutes. http://winscp.net/eng/index.php
Chris Mason (Lists)
2006-Feb-03 10:33 UTC
[CentOS] automatic transfer files between Windows PC & Centos server
JC wrote:> Hi everyone, > > I have this problem and need your help. I have some files locate on > windows pc that I need to upload to centos server everyday > automatically and without provide password. Is there an easy way for > this? I would like to use some kind of batch file because I can use > schedule in WinXP to performance this job everyday.Run cygwin-rsyncd on each windows computer, assign a username and password and share in the config, and you can rsync the files every night. This is how I backup the work folders on our windows machines. http://sourceforge.net/project/showfiles.php?group_id=34854&package_id=88133&release_id=240281 -- Chris Mason NetConcepts (264) 497-5670 Fax: (264) 497-8463 Int: (305) 704-7249 Fax: (815)301-9759 UK 44.207.183.0271 Cell: 264-235-5670 Yahoo IM: netconcepts_anguilla at yahoo.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.