LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-03-2011, 12:05 PM   #1
dirtydog7655
Member
 
Registered: Jan 2011
Posts: 47

Rep: Reputation: 0
Transfering files in FTP?


Alright so your probably reading the title or reading this and are going to laugh or already are.

I have just setup FTP on my server (yay for me) using the guide that help.ubuntu provided. So i have configured a couple things and my only question is how do i add files!? :O

I am also wondering, is it possible to put files on it, from my windows machine? For instance, is it possible to put some episodes of a show that are on my windows machine, onto my Linux server?

Thanks for the help guys. Please tell me if i need to be a little more clear. I feel this may be a bit vague.
 
Old 04-03-2011, 12:31 PM   #2
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 490Reputation: 490Reputation: 490Reputation: 490Reputation: 490
Use gftp. It's a very simple right and left window style ftp client. Very easy to use.

gftp --> http://www.gftp.org/

It's most likely in your distribution's repos... or installed by default on your system already. It comes with Xfce. I'm not sure about Gnome or KDE.

Have fun!

~Eric

P.S. And yes, you can ftp to your site via Windows also. You can add/remove, etc. no troubles at all. In the old days, you could ftp with IE, but I'm not sure what app Windows' modern versions use these days.

Last edited by vtel57; 04-03-2011 at 12:33 PM. Reason: addenda
 
Old 04-03-2011, 02:59 PM   #3
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 386

Rep: Reputation: 43
Quote:
Originally Posted by vtel57 View Post
In the old days, you could ftp with IE, but I'm not sure what app Windows' modern versions use these days.
Yea, you can connect to your FTP server from any web browser by using the URI standard

Code:
ftp://<username>:<password>@<ftpserver>:<port> 

$ firefox ftp://myuser1:p@$$w0rdz@myftp.dyn-dns.org:21
You should be able to drag and drop files from the FTP server to your desktop but I don't think you can do it the other way around when using a web browser.
 
Old 04-03-2011, 03:55 PM   #4
eldoran
LQ Newbie
 
Registered: Apr 2005
Location: Black Hawk, Colorado
Distribution: Ubuntu
Posts: 26

Rep: Reputation: 15
Lots of ways .. you can go to a command line in Windows and use 'ftp' to ftp in to your Linux ftp server and 'put' the files you want to transfer. Or -- just 'share' the file in Windows -- and mount it under Linux:

1) You need the samba client installed: sudo apt-get install smbclient
2) Mount the windows share: sudo mount //win-machine/sharename /mnt (where win-machine is the name or ip address of your windows machine and sharename is the name of the shared folder). use /mnt or make a directory on Linux just for it (/winshare, whatever).

You can also use a USB stick or external drive to shuttle things if you have one. Not as elegant as the network solutions, but simple :-)

Last edited by eldoran; 04-03-2011 at 03:55 PM. Reason: add sudo to mount command
 
Old 04-03-2011, 04:43 PM   #5
nc7r
LQ Newbie
 
Registered: Nov 2005
Location: CT
Distribution: Debian & knoppix
Posts: 2

Rep: Reputation: 0
FTP to/from your server

It looks like you have received some suggestions to get you going with FTP to your server.
Instead of ftp many consider it preferable to use scp to move files back/forth because it uses the encrypted ssh interface.

Moving files from another Linux box to your machine is as easy as:
following equivalent to a put:
> scp sourcefile username@destination:destinationfilename
or following equivalent to a get:
> scp username@sourcemachinename:sourcefilename destinationfilename
destinationfilename can be . which would deposit the file in whatever directory you currently are in (if you have write access)

That's the simple stuff you can do with it.
Much more capability

To send/receive files from a windows machine we use: winscp {web search revealed several good sites for acquisition}
which works very well, even for users who are not very Linux literate.

GL!
 
Old 04-03-2011, 04:56 PM   #6
eldoran
LQ Newbie
 
Registered: Apr 2005
Location: Black Hawk, Colorado
Distribution: Ubuntu
Posts: 26

Rep: Reputation: 15
Quote:
Originally Posted by nc7r View Post
It looks like you have received some suggestions to get you going with FTP to your server.
Instead of ftp many consider it preferable to use scp to move files back/forth because it uses the encrypted ssh interface.

GL!
Yes - good suggestion - but make sure Linux is serving ssh:

sudo apt-get install openssh-server


I also prefer scp .. and I like to use 'rsync' which also goes over ssh..

I recommend using 'cygwin' on Windows.. it essentially gives you Linux commands and directory structure under Windows. I always check the ssh and rsync boxes to make sure they are installed (cygwin lets you choose a TON of different packages). You can even make your Windows machine into an ssh server with cygwin - so you can ssh into (and scp to) Windows. I'm not a Windows fan, but cygwin made it more tolerable and let me interact with my Linux machines more seamlessly..
 
Old 04-03-2011, 09:52 PM   #7
Wollongong
LQ Newbie
 
Registered: May 2007
Location: Australia
Distribution: Ubuntu 12.04LTS
Posts: 13

Rep: Reputation: 2
Quote:
Originally Posted by thund3rstruck View Post
Yea, you can connect to your FTP server from any web browser by using the URI standard

Code:
ftp://<username>:<password>@<ftpserver>:<port> 

$ firefox ftp://myuser1:p@$$w0rdz@myftp.dyn-dns.org:21
You should be able to drag and drop files from the FTP server to your desktop but I don't think you can do it the other way around when using a web browser.
Also note that Internet Explorer doesn't support the URL with username : password, but it does work with the basic URL
ftp://<ftpserver>
and a popup will ask you for the username and password.

You can fetch but not put using a web browser.

Try "filezilla" if you want a GUI application that is cross platform: supported for windows, and a package is available for various linux distributions.
 
Old 04-04-2011, 09:29 AM   #8
nainesh
LQ Newbie
 
Registered: May 2010
Location: Ahmedabad-Gujarat
Distribution: Fedora
Posts: 27

Rep: Reputation: 0
dirtydog7655

First check the permission on ftp user's home directory. is there a write permission on that directory. if yes, then simply go to command prompt of you windows system and type below commands.

Commands:-
ftp ftp.your.server
login with user credential
bin
hash
mput filename (or) put filename

There are lots of tricks to put the file on your server. but as per your question regarding ftp server. these are the above steps which you have to compulsory follow.
 
Old 04-04-2011, 05:26 PM   #9
wbenton
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Rep: Reputation: 0
You can use FTP or SCP with SSH as others have mentioned, but you may run into problems with NAT traversal and/or FTP over SSH.

The tool I recommend is open source and it's called "curl-loader".

You can pick it up at: http://curl-loader.sourceforge.net/

And it comes in both Linux and Windows flavors.

One nice thing about curl-loader is that you can resume FTP transfers if the connection was cut in the middle. This is nice if you have a bad connection and/or a very large file you want to transfer but keep getting errors during transmission where you have to start over with other software packages.

Edited to add: [It has all kinds of security features built into it as well; including the use of CA (IPSec) certificates amongst others!]

FWIW

Last edited by wbenton; 04-04-2011 at 05:28 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
transfering files to my pc Garrett85 Linux - Networking 2 02-13-2011 02:11 PM
problem of transfering disk image via ftp hahp Linux - Virtualization and Cloud 2 02-03-2010 09:51 PM
Transfering 50G data via FTP and Preserving Date jjthomas Linux - General 2 09-09-2005 09:02 AM
Transfering Files webwally Linux - Networking 2 04-20-2005 06:17 AM
Transfering my files unixfreak Linux - Newbie 1 08-11-2004 10:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration