LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   simplest way to share files linux/win?? (https://www.linuxquestions.org/questions/slackware-14/simplest-way-to-share-files-linux-win-211920/)

marlor 07-31-2004 04:39 PM

simplest way to share files linux/win??
 
hi people,

i know there are tons of post out there about samba etc, but i would like to know what you think is the simplest way to share files. not a large network or anything, just my windows desktop and my slack laptop.
can you please show me a simple direction to start of at?


thanks in advance

cccc828 07-31-2004 04:43 PM

Hello,

Why not simply set up a FTP server on the Slackware Laptop?

cccc828

Boby 07-31-2004 04:47 PM

Hi!

I like FTP. It's not hard to set up for both, Linux and Windows. But Samba is good too.
Try both, FTP and Samba, then use the one you like more.

Boby

marlor 07-31-2004 04:55 PM

with ftp will it be possible to share files internally (meaning within my little network with the router) or does PC1 connect to the internet over the router and the packages comes back over the router and gets to PC2?

i have limited bandwidth that's why i am asking :)


thanks

Cedrik 07-31-2004 04:59 PM

no, internally, even without router just with a cross over cable, it would connect.

Just uncomment the ftp line in /etc/inetd.conf and the ftp server is started at boot on slackware (proftpd). then try to login from windows whith your user login name & password

horndude 08-01-2004 12:02 AM

Ya, any form of connection, cross over cable,serial, ppp, ethernet, any of them can be used with ftp.Long as you can log in your good to go.Neat thing with the windows box, you can drag and drop into what you see in the linux machine with IE.

Mephisto 08-01-2004 08:54 AM

I would argue the simplest way would be to set up a share on the windows box and mount it in Slack. Samba works as well, but it is more setup. FTP can be done, but sftp would be better, Filezilla is a very good win32 based ftp/sftp client. SSH with SFTP is set up automatically and it is less problematiic security wise than FTP.

bruj3w 08-01-2004 09:58 AM

hey, i've uncommented the line in the inetd.conf to enable ftp access but i cant ftp to the machine.

when i try run proftpd i get 'fatal error cannot open socket'

any ideas?

Cedrik 08-01-2004 10:31 AM

You have to restart inetd to take change in account, it is well explained in comment in /etc/inetd.conf :

# If you make changes to this file, either reboot your machine or send the
# inetd a HUP signal:
# Do a "ps x" as root and look up the pid of inetd. Then do a
# "kill -HUP <pid of inetd>".
# The inetd will re-read this file whenever it gets that signal.

Necronomicom 08-01-2004 11:50 AM

SSH is better then FTP to transfer files from linux to windows.

Get this program for windows:
http://winscp.sourceforge.net/eng/

or you can tranfer files in the command line of ms-dos using PSCP
http://www.chiark.greenend.org.uk/~s.../download.html

Code:

pscp username@192.168.0.1:/home/username/your_files c:\tranfer_area


All times are GMT -5. The time now is 09:34 PM.