GithubHelp home page GithubHelp logo

Comments (5)

aspacca avatar aspacca commented on June 8, 2024

@Spacelight42 could you please share the full curl command you run and the system you run on?
thanks

from transfer.sh.

Spacelight42 avatar Spacelight42 commented on June 8, 2024

short version:

$ curl --progress-bar --interface eth0 --upload-file 20230623_121152.mp4 https://transfer.sh/ltw.mp4                                                                    
$

with the -v option (I replaced the hashes in the url by ***):

curl -v --progress-bar --interface eth0 --upload-file 20230623_121152.mp4 https://transfer.sh/ltw.mp4                                                                 
*   Trying 144.76.136.153:443...                                                                                                                                                                            
* Connected to transfer.sh (144.76.136.153) port 443 (#0)                                                                                                                                                   
* ALPN, offering h2                                                                                                                                                                                         
* ALPN, offering http/1.1      
* successfully set certificate verify locations:                                                                                                                                                     [28/82]
*  CAfile: /etc/ssl/certs/ca-certificates.crt                                                                                                                                                               
*  CApath: /etc/ssl/certs                                                                                                                                                                                   
* TLSv1.3 (OUT), TLS handshake, Client hello (1):                                                                                                                                                           
* TLSv1.3 (IN), TLS handshake, Server hello (2):                                                                                                                                                            
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):                                                                                                                                                    
* TLSv1.3 (IN), TLS handshake, Certificate (11):                                                                                                                                                            
* TLSv1.3 (IN), TLS handshake, CERT verify (15):                                                                                                                                                            
* TLSv1.3 (IN), TLS handshake, Finished (20):                                                                                                                                                               
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):                                                                                                                                                 
* TLSv1.3 (OUT), TLS handshake, Finished (20):                                                                                                                                                              
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256                                                                                                                                                     
* ALPN, server accepted to use h2                                                                                                                                                                           
* Server certificate:                                                                                                                                                                                       
*  subject: CN=transfer.sh                                                                                                                                                                                  
*  start date: Jun 15 21:30:03 2023 GMT    
*  expire date: Sep 13 21:30:02 2023 GMT                                                                                                                                                             [12/82]
*  subjectAltName: host "transfer.sh" matched cert's "transfer.sh"                                                                                                                                          
*  issuer: C=US; O=Let's Encrypt; CN=R3                                                                                                                                                                     
*  SSL certificate verify ok.                                                                                                                                                                               
* Using HTTP2, server supports multi-use                                                                                                                                                                    
* Connection state changed (HTTP/2 confirmed)                                                                                                                                                               
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0                                                                                                                            
* Using Stream ID: 1 (easy handle 0x1017280)                                                                                                                                                                
> PUT /ltw.mp4 HTTP/2                                                                                                                                                                                       
> Host: transfer.sh                                                                                                                                                                                         
> user-agent: curl/7.74.0                                                                                                                                                                                   
> accept: */*                                                                                                                                                                                               
> content-length: 411181079                                                                                                                                                                                 
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Connection state changed (MAX_CONCURRENT_STREAMS == 250)!

> content-length: 411181079
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Connection state changed (MAX_CONCURRENT_STREAMS == 250)!
< HTTP/2 200 
< content-type: text/plain
< server: Transfer.sh HTTP Server
< x-made-with: <3 by DutchCoders
< x-served-by: Proudly served by DutchCoders
< x-url-delete: https://transfer.sh/***/ltw.mp4/***
< content-length: 38
< date: Thu, 13 Jul 2023 07:57:48 GMT
< 
* Connection #0 to host transfer.sh left intact

used on:
Linux raspberrypi 5.15.32-v7+ #1538 SMP Thu Mar 31 19:38:48 BST 2022 armv7l GNU/Linux

from transfer.sh.

aspacca avatar aspacca commented on June 8, 2024

could you also share curl --version and

$ curl --progress-bar --interface eth0 --trace-ascii curl-trace.txt --upload-file 20230623_121152.mp4 https://transfer.sh/ltw.mp4                                                                    

and the content of curl-trace.txt (anonymised)?

Just after the last line

* Connection #0 to host transfer.sh left intact

you should have your prompt with no newline and the upload url just before:

* Connection #0 to host transfer.sh left intact
https://transfer.sh/***/ltw.mp4$

from transfer.sh.

marzocchi avatar marzocchi commented on June 8, 2024

hi @Spacelight42, can you try again with

curl --progress-bar --interface eth0 --upload-file 20230623_121152.mp4 https://transfer.sh/ltw.mp4; printf "\n"

I tried from Raspbian Buster with a stock shell, and I can see the URL, but it's squished against the prompt because there's no new line, eg. this is what I see:

pi@print-server:~ $ curl --progress-bar --interface eth0 --upload-file some.junk https://transfer.sh/some.junk
https://transfer.sh/nyWpxngCKh/some.junkpi@print-server:~ $

maybe you have some customisation in your ~/.profile that moves the cursor left before drawing the prompt?

from transfer.sh.

aspacca avatar aspacca commented on June 8, 2024

closing as stale

from transfer.sh.

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.