Upload na ulož.to z příkazové řádky

ByCzech

  • *****
  • 1 863
    • Zobrazit profil
    • E-mail
Re:Upload na ulož.to z příkazové řádky
« Odpověď #15 kdy: 31. 01. 2018, 13:24:33 »
predpokladam ze upload bude taky na registraci ... a nebo nepujde vubec :)

Špatný předpoklad. Upload jde anonymně, bez registrace a bez captcha ap. Download vyžaduje registraci kvůli tomu, že anonymní (pomalý, neplacený) je přes captcha, což z řádky nezařídíte.


Tom1989

Re:Upload na ulož.to z příkazové řádky
« Odpověď #16 kdy: 02. 02. 2018, 11:39:22 »
predpokladam ze upload bude taky na registraci ... a nebo nepujde vubec :)

Špatný předpoklad. Upload jde anonymně, bez registrace a bez captcha ap. Download vyžaduje registraci kvůli tomu, že anonymní (pomalý, neplacený) je přes captcha, což z řádky nezařídíte.

mne to nefungujeL

man curl pise tohle o uploadu

       -T, --upload-file <file>
              This transfers the specified local file to the remote URL. If there is no file part in the specified URL, Curl will append the local file name. NOTE that you must use a trailing / on  the  last  directory  to
              really prove to Curl that there is no file name or curl will think that your last directory name is the remote file name to use. That will most likely cause the upload operation to fail. If this is used on an
              HTTP(S) server, the PUT command will be used.

              Use the file name "-" (a single dash) to use stdin instead of a given file.  Alternately, the file name "." (a single period) may be specified instead of "-" to use stdin in non-blocking mode to allow reading
              server output while stdin is being uploaded.

              You  can specify one -T for each URL on the command line. Each -T + URL pair specifies what to upload and to where. curl also supports "globbing" of the -T argument, meaning that you can upload multiple files
              to a single URL by using the same URL globbing style supported in the URL, like this:

              curl -T "{file1,file2}" http://www.uploadtothissite.com

              or even

              curl -T "img[1-1000].png" ftp://ftp.picturemania.com/upload/


Takze zkousim:
curl -T "{VideoClip.mp4}" https://uloz.to/

curl: (18) transfer closed with outstanding read data remaining

ByCzech

  • *****
  • 1 863
    • Zobrazit profil
    • E-mail
Re:Upload na ulož.to z příkazové řádky
« Odpověď #17 kdy: 02. 02. 2018, 18:36:59 »
mne to nefungujeL

Takze zkousim:
curl -T "{VideoClip.mp4}" https://uloz.to/

curl: (18) transfer closed with outstanding read data remaining

Mě to funguje, asi proto, že mě to nenapadlo posílat na https://uloz.to/, ale logicky na "stránku", kde je formulář pro upload: https://www.uloz.to/sem-jednoduse

Tom1989

Re:Upload na ulož.to z příkazové řádky
« Odpověď #18 kdy: 09. 02. 2018, 23:19:23 »
mne to nefungujeL

Takze zkousim:
curl -T "{VideoClip.mp4}" https://uloz.to/

curl: (18) transfer closed with outstanding read data remaining

Mě to funguje, asi proto, že mě to nenapadlo posílat na https://uloz.to/, ale logicky na "stránku", kde je formulář pro upload: https://www.uloz.to/sem-jednoduse

Takze tam asi neco zmenili, a ted po mne chteji vyjadreni ze jsem nad 18 let pro upload ..

        Za účelem třídění obsahu nevhodného pro mladistvé osoby, prosíme o vyjádření, zda jsi již dosáhl zletilosti:
curl: (18) transfer closed with outstanding read data remaining