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
Allowing anonymous upload is a risk, soon your server will be used as a warez repository.
On 02/02/06, JC hiep@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@centos.org http://lists.centos.org/mailman/listinfo/centos
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@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@centos.org http://lists.centos.org/mailman/listinfo/centos
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 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
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.
On Thu, 2006-02-02 at 11:04 -0600, Les Mikesell wrote:
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.
Personally I would use the PUTTY tools for that ... hate having to install cygwin.
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
I've used PSCP for doing this when I don't want to or can't use FTP access.
Paul
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
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
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=8...
On Fri, 2006-02-03 at 04:33, Chris Mason (Lists) wrote:
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=8...
If it is really just for backups, look at backuppc: http://backuppc.sourceforge.net/. It can use file shares or rsyncd as the transport for windows targets and keeps a history of compressed versions copies on line with web browser access.