LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-22-2010, 01:59 AM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Rep: Reputation: 73
sending big files


I want to send a film to a friend. It is 700MB. It doesn't fit in an email. I don't want to rent an internet service, as I really don't do this often.

What is the best way to do this? Set up an ftp server on my machine?
Use some kind of free internet server?

Any tips?
 
Old 10-22-2010, 02:14 AM   #2
aries_baluyot
Member
 
Registered: Oct 2010
Location: India
Distribution: Mandriva, Suse, Ubuntu, Centos, Maemo, Omnia Xp
Posts: 86

Rep: Reputation: -11
Quote:
Originally Posted by Pedroski View Post
I want to send a film to a friend. It is 700MB. It doesn't fit in an email. I don't want to rent an internet service, as I really don't do this often.

What is the best way to do this? Set up an ftp server on my machine?
Use some kind of free internet server?

Any tips?
try to compress your file. or try to make partition of the film
 
0 members found this post helpful.
Old 10-22-2010, 02:19 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Ssh and/or ftp come to mind.

I'm assuming you work with linux, which makes it easy to set up a (temporary?) ssh/ftp daemon. Your friend can log into your machine and download the file. Setting up either of the 2 shouldn't be too hard and maybe one or both are already up and running.

Hope this helps.
 
Old 10-22-2010, 03:50 AM   #4
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
Know a good tutorial 'Setting up an ftp server in Fedora'??

I not sure what ssh is, not being an expert.
 
Old 10-22-2010, 04:36 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Maybe these will help:

How To: Configure Secure FTP Server
Fedora FTP Server Tutorial
Linux FTP Server Setup - Linux Home Networking

Also do a internet search yourself (Keywords: fedora ftp server install).

Ssh is a secure shell (scp is used to up/download files):

Basic Setup SSH Server on Fedora.
Configuring Fedora Linux Remote Access using SSH

Hope this helps
 
Old 10-22-2010, 06:33 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Um, I would just use a file sharing host ... it's probably not appropriate to name them by name, but surely you know.

Last edited by H_TeXMeX_H; 10-22-2010 at 06:36 AM.
 
Old 10-22-2010, 06:35 AM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by aries_baluyot View Post
try to compress your file. or try to make partition of the film
What are you talking about, and why are most of your posts completely useless and offtopic ? I will report you the next time I see this, and I hope you get banned.
 
Old 10-22-2010, 09:45 AM   #8
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
Try using split

Code:
$ split film --bytes=10m sfilm
This will split the file named film in to chunks of 10M bytes named sfilmaa, sfilmab, sfilmac, and so on.
 
Old 10-22-2010, 10:41 PM   #9
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
I'm trying to follow the instructions to set up vsftp.

I did:

[root@peterlaptop pedro]# chown -v ftp /var/ftp/pub
changed ownership of `/var/ftp/pub' to ftp

then:

[root@peterlaptop pedro]# chmod -v -x /var/ftp/pub
mode of `/var/ftp/pub' changed to 0666 (rw-rw-rw-) (I didn't want to allow x there.)

But I can't create a directory downloads. Where did I go wrong?

I tried again, making me the owner, but still can't create a directory.

[pedro@peterlaptop ~]$ ls -l /var/ftp/
total 4
drw-rw-rw-. 2 pedro root 4096 2010-05-17 16:06 pub
 
Old 10-23-2010, 06:16 AM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by Pedroski View Post
I'm trying to follow the instructions to set up vsftp.
Which instructions, there are many out there?
 
Old 10-23-2010, 09:24 AM   #11
mecelec415
Member
 
Registered: Jan 2008
Location: Noble Park ,Victoria, Australia
Distribution: Mageia
Posts: 183
Blog Entries: 2

Rep: Reputation: 23
what about installing opera and its file sharing application
http://unite.opera.com/applications/3/

if you go the ftp:// root rember to forward it in your router settings

Last edited by mecelec415; 10-23-2010 at 09:27 AM.
 
Old 10-23-2010, 06:29 PM   #12
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
Well, more by luck than judgement, I've got it working for downloading, just by opening ftp://x.x.x.x in Firefox or whatever. But how does upload work? How can my friend in Berlin upload to me here in China? He runs Win.What program would he need?

I've set uploads to:

[root@peterlaptop pedro]# chmod -v 722 /var/ftp/pub/uploads
mode of `/var/ftp/pub/uploads' changed to 0722 (rwx-w--w-)
 
Old 10-23-2010, 07:12 PM   #13
mecelec415
Member
 
Registered: Jan 2008
Location: Noble Park ,Victoria, Australia
Distribution: Mageia
Posts: 183
Blog Entries: 2

Rep: Reputation: 23
tell your friend your ip address and hell be asked to log in.
your friend could use filezilla as an ftp client
 
Old 10-24-2010, 01:10 AM   #14
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
help again!

What I'm unsure of is what se-linux context should be.

We can't upload to /var/pub/uploads These are the permissions.

[root@peterlaptop pedro]# ls -l /var/ftp/pub/
total 13372
drwxr-xr-x. 2 pedro pedro 4096 2010-10-23 17:44 downloads
-rw-r--r--. 1 pedro pedro 13674496 2010-10-18 04:10 Rumba.2008.DVDRip.SAMPLE.avi
drwxr-xr-x. 2 pedro pedro 4096 2010-10-18 04:18 Rumba.2008.DVDRip.XviD-VH-PROD.[www.FilmsBT.com]
drwxrwxrwx. 2 pedro pedro 4096 2010-10-24 07:36 uploads

This is the error from filezilla:

Status: Connecting to 222.94.189.148:21...
Status: Connection established, waiting for welcome message...
Response: 220 (vsFTPd 2.2.2)
Command: USER anonymous
Response: 331 Please specify the password.
Command: PASS **************
Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Status: Connected
Status: Starting upload of C:\Users\npr\Pictures\545px-Xiangqi_Board.svg.png
Command: CWD /pub/uploads
Response: 250 Directory successfully changed.
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 227 Entering Passive Mode (222,94,189,148,127,161).
Command: STOR 545px-Xiangqi_Board.svg.png
Response: 550 Permission denied.
Error: Critical file transfer error

Any tips??
 
Old 10-24-2010, 01:56 AM   #15
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
? why are you trying to upload it to a folder THAT is OWNED by root ! " /var"

Use your HOME folder

that will solve all your SELinux context problems
there is already a folder there just for things like this
you might also want to read the fedora wiki/Doc page on SELinux
http://docs.fedoraproject.org/en-US/index.html
https://fedoraproject.org/wiki/Fedora_Project_Wiki

for the current fedora 13
http://docs.fedoraproject.org/en-US/...ces/index.html
 
  


Reply



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
How BIG are "Big files" in "XFS is the best with big files"? ingerudo Linux - General 1 09-11-2009 08:36 AM
Bluetooth: Nokia 6151: phone offs when sending big files (+12M) sevenfourk Linux - Hardware 0 06-21-2009 07:45 AM
LXer: Why Big Compute and Big Storage will meet Big Pipe at the Last Mile LXer Syndicated Linux News 0 12-23-2007 01:20 PM
sending files den15 Linux - Newbie 8 12-21-2005 07:59 AM
sending files over LAN puk Linux - Newbie 6 04-16-2003 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:32 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