LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2022, 11:57 AM   #1
pandanuma
Member
 
Registered: May 2005
Location: greatwhitenorth
Distribution: deb99+
Posts: 134
Blog Entries: 10

Rep: Reputation: 37
need to transfer large files online between linux and windows


.wav file too big to email

is 'transmission' what i can use to share files with a windows user over the internet??

trial run:
created small torrent file and is ready to upload
how does the intended recipient find me to download file?

note: windows user is even less adept than i am
if we can get transmission installed on his pooter...how does he find my upload...it has been a while since i used transmission myself
 
Old 06-18-2022, 01:02 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by pandanuma View Post
.wav file too big to email

is 'transmission' what i can use to share files with a windows user over the internet??

trial run:
created small torrent file and is ready to upload
how does the intended recipient find me to download file?

note: windows user is even less adept than i am
if we can get transmission installed on his pooter...how does he find my upload...it has been a while since i used transmission myself
I've create a torrent exactly once, but that was with the help of a website.

I recommend a different approach:
Turn your Linux machine into a web server, temporarily.
You can do this with python.
Change your terminal prompt to the directory you want to server, and issue:
Code:
python3 -m http.server 9999
9999 is the port.

If your firewall, router and/or ISP allow it, you can even access it from the outside, not just your LAN.
 
Old 06-18-2022, 01:35 PM   #3
suramya
Member
 
Registered: Jan 2022
Location: Earth
Distribution: Debian
Posts: 249

Rep: Reputation: 102Reputation: 102
If the file is not sensitive you can upload it to one of the file sharing sites such as dropbox/Google Drive/Onedrive etc and then share the link with the receiver
 
Old 06-18-2022, 02:04 PM   #4
pandanuma
Member
 
Registered: May 2005
Location: greatwhitenorth
Distribution: deb99+
Posts: 134

Original Poster
Blog Entries: 10

Rep: Reputation: 37
Quote:
Originally Posted by suramya View Post
If the file is not sensitive you can upload it to one of the file sharing sites such as dropbox/Google Drive/Onedrive etc and then share the link with the receiver
thank you suramya...
the file is not too sensitive...as opposed to 'not yet ready' for release to the interweb.
my friend has used a lot of file sharing sites but mostly trial versions that have run out of free usage
found filetransfer.io and wondering about privacy and security...might give it a try

ondoho...
i like your idea of a webserver
right now i am looking at an old raspberry pi2? that i configured [headless?] for just that purpose...but after plugging it into my modem/router...i cannot figure out how to navigate to it from my desktop

how about remote access?
if i get access to his computer over the internet...can i drag and drop the large file from him to me?
 
Old 06-18-2022, 02:29 PM   #5
suramya
Member
 
Registered: Jan 2022
Location: Earth
Distribution: Debian
Posts: 249

Rep: Reputation: 102Reputation: 102
How large is the file? Google drive gives 15GB of free storage and is pretty secure/private (for most use cases). If you have a Office 365 subscription then you get 1TB of OneDrive space per user.

Quote:
if i get access to his computer over the internet...can i drag and drop the large file from him to me?
You could if you expose your computer and share a folder publicly over the over the internet which is something I would strongly recommend against. Another option is to use SyncThing. From their site:

"Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real time, safely protected from prying eyes. Your data is your data alone and you deserve to choose where it is stored, whether it is shared with some third party, and how it's transmitted over the internet."

I use it to sync data between my computers on the LAN but you can do the same over the internet as well (Their docs explain how to set that up). The advantage of this is that the data gets synced as soon as there is a change. So as soon as your friend saves their changes it will reflect in your copy as well.
 
Old 06-18-2022, 04:34 PM   #6
pandanuma
Member
 
Registered: May 2005
Location: greatwhitenorth
Distribution: deb99+
Posts: 134

Original Poster
Blog Entries: 10

Rep: Reputation: 37
syncthing looks great
my windows friend should be able to install it...

while i wait for my buddy to set up his end of the ftp? i will provide some details for anyone with time to spare to read further...

...

the files average about 55mib
my email complains about anything over 10mb
so...here i am

this is the scenario

indie musician is hoping to release some original recordings he has created and owns the rights to.
metadata needs to be embedded into media files:
original recording: 50MB .wav file
has trouble editing in the metadata
either it is not saved or is lost when rendered or converted to mp3 files
[most of the mp3 files he emails to me do not show the info that he says was? edited in]
he claims his copies are good
i need a copy of his 'good' copy of the 50mb.wav file
emailing does not work for us
i gave up on talking him through zipping the .wav file
all his vindohz free trial zip programs want money
he finally got 7-zip installed...but something in windows kept asking for more apps that cost more money...

he is using reaper to finalize his recordings
i installed a free trial of reaper just so i could walk him through the metadata stuff...
still no luck...at least none that we could repeat...
then i installed kid3-qt to confirm his edits...still no luck
and lots of red indicating that some metadata was incorrect
kid3 looks easier than reaper to edit... so...install kid3 buddy
well...after more delay downloading the kid3 file...
it wont unzip...wed.thurs.friday man...

so now i wait...
we will tackle this again next week
i am sure syncthing or trasmission will do the trick
as soon as we trick out our pooters with these tricky files...

its all smiles until you land on your head...
stay tuned for a smiley update if we land on our feet
 
Old 06-18-2022, 04:57 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,730

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
I have not played with wav metadata much but depending on what utilities your friend is using they may not be transferring correctly.

If your friend is willing another option would be to use teamviewer. It is free for non commercial use and you can see what is actually happening on that end as well as being able to transfer files without any setup etc.
 
Old 06-18-2022, 05:59 PM   #8
pandanuma
Member
 
Registered: May 2005
Location: greatwhitenorth
Distribution: deb99+
Posts: 134

Original Poster
Blog Entries: 10

Rep: Reputation: 37
slightly off topic: remote access

Quote:
Originally Posted by michaelk View Post
I have not played with wav metadata much but depending on what utilities your friend is using they may not be transferring correctly.

If your friend is willing another option would be to use teamviewer. It is free for non commercial use and you can see what is actually happening on that end as well as being able to transfer files without any setup etc.
michaelk the moderator...if i may have a moment of your time to upgrade my posting skills while wandering todays warren of habit.holes...

when the unmoderated is ready the moderator will appear
teamviewer could be a good choice for this instance
checked it out at alternativeto.net but when any software spells free with more than 4 letters ie. freemium free.personal free.trial non.commercial etc etc...
well i try to steer free and clear of them
i will haunt f-droid and alternativeto for more ideas on remote access

now as a learning exercise for making my posts better...
.when i replied you your post, i noticed the title box was blank
entered my own title as a test to see where it will be applied
hoping the title of this current post will alert others that it diverges slightly ??
i will post this reply and see where the title goes...

note: i have dabbled with jammi and a few other messaging apps that might do the trick but again...my friend needs help installing almost anything that is not proprietary or complicated...
 
Old 06-18-2022, 08:03 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,339
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
Have you considered installing Putty on the Windows machine?

I haven't used it in a long time, but I understand that it is capable of file transfers. If transferring the file over the internet, the appropriate ports would need to be open on the routers and firewalls.
 
Old 06-18-2022, 08:41 PM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,658

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by pandanuma View Post
.wav file too big to email

is 'transmission' what i can use to share files with a windows user over the internet??

trial run:
created small torrent file and is ready to upload how does the intended recipient find me to download file?

note: windows user is even less adept than i am if we can get transmission installed on his pooter...how does he find my upload...it has been a while since i used transmission myself
I agree with others, and I think that you're overcomplicating this. You can upload the file to Google Drive, Dropbox, or any other upload service, and just email your friend a link to the file. That's it....doesn't matter what OS'es are involved.

If this is a one-time/seldom thing, and not high security, it's WAY easier to go this route. No services to configure, firewall ports to open, etc., etc.
 
Old 06-19-2022, 12:05 AM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ I agree, if it's 50MB and a one time thing, use some file uploading site: https://opensource.com/article/17/3/file-sharing-tools

Quote:
Originally Posted by pandanuma View Post
ondoho...
i like your idea of a webserver
right now i am looking at an old raspberry pi2? that i configured [headless?] for just that purpose...but after plugging it into my modem/router...i cannot figure out how to navigate to it from my desktop
You're creating extra problems instead of solving the one you have. Go back to your familiar Linux machine, do what I suggested earlier, open your browser to "127.0.0.1:9999" - if that works, it should work across your local network.
Your friend's Windows computer is remote, I gather? Read about the caveats I mentioned.
These caveats will apply to most if not all direct transfer solutions.
 
Old 06-19-2022, 12:17 AM   #12
lvm_
Member
 
Registered: Jul 2020
Posts: 941

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
In a case of one-off transfer I usually pack large file into a multi-volume archive and send parts in individual emails. 7zip or rar can do it. Or maybe compression in itself would be sufficient.
 
Old 06-19-2022, 05:56 AM   #13
Debian6to11
Member
 
Registered: Jan 2022
Location: Limassol, Cyprus
Distribution: Debian
Posts: 382
Blog Entries: 1

Rep: Reputation: 71
Adding to the GoogleDrive, DropBox and whatever other file sharing cloud services exist.
I went as far as sharing a 5 GB video file from GoogleDrive. It took me a while to upload the file at 5 Mbps but it did eventually got there and everything worked.

If you and your friend are sharing regularly and many files, you may consider TeamViewer or AnyDesk (better in my opinion, but I do not know if it has file sharing capability, check website).
 
Old 06-19-2022, 06:21 AM   #14
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,974
Blog Entries: 33

Rep: Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466
pandanuma,

Masv specialises in the transfer of huge (20GB+) files via the cloud.

It offers a pay-as-you-go pricing model with a cost of $0.25 per downloaded GB. There's no subscription fees, no contracts, no support fees, user limits or filesize/bandwidth limits.

You can try Masv for seven days, free, with a 100GB test:
https://massive.io/

Why not give it a try? It may be useful for future transfers.
 
Old 06-19-2022, 10:02 AM   #15
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
+1 for post #2

Code:
python3 -m http.server 8100
In the directory that you want to share on the linux box. Note the LAN IP on your Linux box.

Then on the widows box, in the web browser:
Code:
http://172.16.0.3:8100
All windows users know how to use their web browser. Or if they don't tell them to learn.

That is exactly the way I do it with windows users. I use this instead of python.
https://raw.githubusercontent.com/em...er/darkhttpd.c

That is simple C. And you can compile that with
Code:
curl https://raw.githubusercontent.com/emikulic/darkhttpd/master/darkhttpd.c -o darkhttp.c

gcc darkhttp.c -o webserv
You can run that with:
Code:
./webserv <path to directory> --port 8100
And a remote web browser will see that as:
https://0x0.st/ouYV.png
 
  


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
Storage issue: large file transfer fails over fibre link between CentOS and Fedora hosts JoseCuervo Linux - Server 3 02-11-2021 07:49 AM
LXer: This week at LWN: Large pages, large blocks, and large problems LXer Syndicated Linux News 0 09-27-2007 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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