LinuxQuestions.org
Review your favorite Linux distribution.
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-24-2010, 02:14 AM   #16
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73

Because vsftp created /var/ftp/pub there. I thought it was supposed to be there!

Where can I put /ftp/pub? Anywhere??

I created: /home/pedro/Public/ftp/ and then edited vsftp.conf as below. But my friend still ends up in /var/ftp/

# The directory which vsftpd will try to change
# into after an anonymous login. (Default = /var/ftp)
anon_root=/home/pedro/Public/ftp/

Do you know why? I did restart the server.

[root@peterlaptop pedro]# service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd:

Last edited by Pedroski; 10-24-2010 at 02:25 AM.
 
Old 10-24-2010, 04:26 AM   #17
mecelec415
Member
 
Registered: Jan 2008
Location: Noble Park ,Victoria, Australia
Distribution: Mageia
Posts: 183
Blog Entries: 2

Rep: Reputation: 23
make him a user on the system hes connecting to and put the file you giving him in his home where hes going to connect to.
so he can log in with a user and a password.
the opera option would have been easier you could have posted him a link in chat
 
Old 10-24-2010, 04:22 PM   #18
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i would have just made a torrent
and mailed the tiny *.torent file
and had them grab the torrent
 
Old 10-24-2010, 08:55 PM   #19
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
torrent sounds good, but I don't know how to do it. Also, I would like to make vsftp work, just for the experience.

I made a file ftp in /home/pedro/Public/ftp/uploads, but my friend can't see it. His ftp client keeps seeing /var/ftp/uploads. He cannot write to that. See above.

I have changed vsftp.conf to # The directory which vsftpd will try to change
# into after an anonymous login. (Default = /var/ftp)
anon_root=/home/pedro/Public/ftp/ and restarted the server, but no joy.

Any more tips?
 
Old 10-25-2010, 11:18 PM   #20
Alexia_Beretta
LQ Newbie
 
Registered: Oct 2010
Location: Victoria, BC, Canada
Distribution: Debian, Fedora, ZenWalk
Posts: 4

Rep: Reputation: 1
I needed to remedy a similar situation some time ago and found an appropriate method after coming to realization that the bulk of free file hosting services online would not accommodate file sizes that large.

If you just open a gmx mail account you will be given 2Gb of free storage for any file type and through this can give the password to the person you wish to transfer data to, in so doing allowing them to retrieve the content directly from the mail server.
 
Old 10-26-2010, 04:20 AM   #21
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
That's good, but I do like to try to get things to work under Linux. I can already let people download. It's just the upload that I can't get.

Any tips??
 
Old 10-27-2010, 12:28 AM   #22
Alexia_Beretta
LQ Newbie
 
Registered: Oct 2010
Location: Victoria, BC, Canada
Distribution: Debian, Fedora, ZenWalk
Posts: 4

Rep: Reputation: 1
Setting up a one-shot webserver on port 8080 to present a file:

Code:
{ echo -ne "HTTP/1.0 200 OK\r\n\r\n"; cat your_video.avi; } | nc -l -p 8080
http://en.wikipedia.org/wiki/Netcat
 
Old 10-27-2010, 07:00 PM   #23
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
Thanks, that's very interesting. But I still want vsftp to work!

Do you have any idea why my friend can't upload, say to /var/ftp/pub/uploads ? The permissions of uploads are

rwx-rw-rw Is this an SE linux issue? ftp is allowed in my firewall. Is it because /var belongs to root? If I change the permissions of /var/ftp/pub/uploads will that not work if /var is root?
 
  


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 01:23 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