LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   copy files from XP to /var/www (https://www.linuxquestions.org/questions/linux-server-73/copy-files-from-xp-to-var-www-573901/)

cornish 08-01-2007 05:57 AM

copy files from XP to /var/www
 
I have created my server now everything is up and running, but I would like to know how I copy files from Windows XP PC to the server I have been looking into samba and cant quite put hand on it can someone help?

acid_kewpie 08-01-2007 06:08 AM

well we can't help specifically from the little information you've provided, but if this is a simple one off task, use winscp from the xp machine to copy to linux over ssh, which is probably already running.

raskin 08-01-2007 06:12 AM

Personally I would use scp (file transfer over ssh connection). It is rather simple, secure and more predictable than SMB. For this you need a running ssh server (I guess it is easy in SuSE). /var/www should be owned by a dedicated user (it would better be separate from web server user, who needs only reading files) who can have home directory there. Check that PuTTY (a good and well-known Windows SSH client, it is free software with MIT license) successfully logs in and you can write in /var/www while ssh-ing as this user. Now you have to either use pscp (bundled with PuTTY, has documentation) or a graphical tool, like WinSCP.

cornish 08-01-2007 06:40 AM

Could I share the /var/www folder then create a mapped drive in windows?

acid_kewpie 08-01-2007 07:55 AM

well that's what samba is for.

cornish 08-01-2007 08:53 AM

Cheers mate thanks for that :)

I needed help with the configuration and shell commands to do it, in the end though I just installed webmin


All times are GMT -5. The time now is 12:40 PM.