LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   need to transfer large files online between linux and windows (https://www.linuxquestions.org/questions/linux-newbie-8/need-to-transfer-large-files-online-between-linux-and-windows-4175713584/)

pandanuma 06-18-2022 11:57 AM

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

ondoho 06-18-2022 01:02 PM

Quote:

Originally Posted by pandanuma (Post 6361885)
.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.

suramya 06-18-2022 01:35 PM

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

pandanuma 06-18-2022 02:04 PM

Quote:

Originally Posted by suramya (Post 6361907)
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 :redface:

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?

suramya 06-18-2022 02:29 PM

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.

pandanuma 06-18-2022 04:34 PM

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

michaelk 06-18-2022 04:57 PM

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.

pandanuma 06-18-2022 05:59 PM

slightly off topic: remote access
 
Quote:

Originally Posted by michaelk (Post 6361930)
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 :hattip:
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...

frankbell 06-18-2022 08:03 PM

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.

TB0ne 06-18-2022 08:41 PM

Quote:

Originally Posted by pandanuma (Post 6361885)
.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.

ondoho 06-19-2022 12:05 AM

^ 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 (Post 6361912)
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 :redface:

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.

lvm_ 06-19-2022 12:17 AM

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.

Debian6to11 06-19-2022 05:56 AM

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).

beachboy2 06-19-2022 06:21 AM

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.

teckk 06-19-2022 10:02 AM

+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


All times are GMT -5. The time now is 02:22 PM.