Git Product home page Git Product logo

Comments (7)

mikemadden42 avatar mikemadden42 commented on May 12, 2024 1

That sounds great. That's what I suspected. Please go ahead & close this issue.

from croc.

schollz avatar schollz commented on May 12, 2024

What happens when you send it? The relay is up.

from croc.

mikemadden42 avatar mikemadden42 commented on May 12, 2024

I don't see it making any progress sending the file.

$ croc -send Rick\ Astley\ -\ Never\ Gonna\ Give\ You\ Up.mp4

                                ,_
                               >' )
   croc version                ( ( \ 
                                || \ 
                 /^^^^\         ||
    /^^\________/0     \        ||
   (                    `~+++,,_||__,,++~^^^^^^^
 ...V^V^V^V^V^V^\...............................
 

Sending 47 MB file named 'Rick Astley - Never Gonna Give You Up.mp4'
Code is: ****************

I see it creating some temporary files. However I never see the process complete.

$ ls -rt Rick*
Rick Astley - Never Gonna Give You Up.mp4
Rick Astley - Never Gonna Give You Up.mp4.enc.3
Rick Astley - Never Gonna Give You Up.mp4.enc.2
Rick Astley - Never Gonna Give You Up.mp4.enc.1
Rick Astley - Never Gonna Give You Up.mp4.enc.0

from croc.

mikemadden42 avatar mikemadden42 commented on May 12, 2024

Here's the output of running with debug mode.

                               >' )
   croc version                ( ( \ 
                                || \ 
                 /^^^^\         ||
    /^^\________/0     \        ||
   (                    `~+++,,_||__,,++~^^^^^^^
 ...V^V^V^V^V^V^\...............................
 

time="2017-10-29T20:23:30-05:00" level=debug msg="checking code validity"
time="2017-10-29T20:23:30-05:00" level=debug msg="[]"
time="2017-10-29T20:23:30-05:00" level=debug msg="code too short"
time="2017-10-29T20:23:30-05:00" level=debug msg="[]"
time="2017-10-29T20:23:30-05:00" level=debug msg=false
time="2017-10-29T20:23:30-05:00" level=debug msg="[4 subway apollo channel]"
time="2017-10-29T20:23:30-05:00" level=debug msg="[4 subway apollo channel]"
time="2017-10-29T20:23:30-05:00" level=debug msg=true
time="2017-10-29T20:23:30-05:00" level=debug msg=encrypting...
Sending 47 MB file named 'Rick Astley - Never Gonna Give You Up.mp4'
Code is: 4-subway-apollo-channel
time="2017-10-29T20:23:31-05:00" level=debug msg="relay says: who?" code=4-subway-apollo-channel sender?=true
time="2017-10-29T20:23:31-05:00" level=debug msg="telling relay: s.4-subway-apollo-channel" code=4-subway-apollo-channel sender?=true
time="2017-10-29T20:23:31-05:00" level=debug msg="waiting for ok from relay" code=4-subway-apollo-channel sender?=true
time="2017-10-29T20:23:31-05:00" level=debug msg="relay says: who?" code=4-subway-apollo-channel sender?=true
time="2017-10-29T20:23:31-05:00" level=debug msg="relay says: who?" code=4-subway-apollo-channel sender?=true
time="2017-10-29T20:23:31-05:00" level=debug msg="telling relay: s.4-subway-apollo-channel" code=4-subway-apollo-channel sender?=true
time="2017-10-29T20:23:31-05:00" level=debug msg="telling relay: s.4-subway-apollo-channel" code=4-subway-apollo-channel sender?=true
time="2017-10-29T20:23:31-05:00" level=debug msg="relay says: who?" code=4-subway-apollo-channel sender?=true
time="2017-10-29T20:23:31-05:00" level=debug msg="telling relay: s.4-subway-apollo-channel" code=4-subway-apollo-channel sender?=true
time="2017-10-29T20:23:31-05:00" level=debug msg="waiting for ok from relay" code=4-subway-apollo-channel sender?=true
time="2017-10-29T20:23:31-05:00" level=debug msg="waiting for ok from relay" code=4-subway-apollo-channel sender?=true
time="2017-10-29T20:23:31-05:00" level=debug msg="waiting for ok from relay" code=4-subway-apollo-channel sender?=true

from croc.

schollz avatar schollz commented on May 12, 2024

Thanks @mikemadden42 . That all looks fine. Its waiting for the receiver to connect to the relay. Can you run debug on the receiver while you do the transfer?

from croc.

mikemadden42 avatar mikemadden42 commented on May 12, 2024

If I send / receive around the same time it works fine. I was assuming I would first need to upload the file and the retrieve it later.

$ croc

                                ,_
                               >' )
   croc version                ( ( \ 
                                || \ 
                 /^^^^\         ||
    /^^\________/0     \        ||
   (                    `~+++,,_||__,,++~^^^^^^^
 ...V^V^V^V^V^V^\...............................
 

Enter receive code: 4-abraham-scoop-austin
Receiving file (47 MB) into: Rick Astley - Never Gonna Give You Up.mp4
ok? (y/n): y


Receiving (<-24.207.128.6042221)..
  79% |███████████████████████████████         | [2m44s:43s]

from croc.

schollz avatar schollz commented on May 12, 2024

@mikemadden42 There is no upload. croc is just connecting the sender and receiver until the file transfer is over. The file is directly transferred from the first computer to the second.

from croc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.