Add support of pretty url
This commit is contained in:
@ -31,12 +31,12 @@ Drag and Drop your file or <input class="button" type="button" value="Select Fil
|
||||
This tool is usable with <b>curl</b> or <b>wget</b>.<br><br>
|
||||
|
||||
To upload : <br>
|
||||
<li> curl --upload-file ./hello.txt <?php print(_HTTP_PROTO . '://' . _HTTP_DOMAIN . _HTTP_PATH . 'index.php?name=hello.txt');?><br>
|
||||
<li> wget -q --body-file='./hello.txt' --method=PUT -O - <?php print(_HTTP_PROTO . '://' . _HTTP_DOMAIN . _HTTP_PATH . 'index.php?name=hello.txt');?><br><br>
|
||||
<li> curl --upload-file ./my_file <?php print($uploadurl);?><br>
|
||||
<li> wget -q --body-file='./my_file' --method=PUT -O - <?php print($uploadurl);?><br><br>
|
||||
|
||||
To download file :<br>
|
||||
<li> curl -OJ <?php print(_HTTP_PROTO . '://' . _HTTP_DOMAIN . _HTTP_PATH . 'index.php?id=99999');?><br>
|
||||
<li> wget --content-disposition <?php print(_HTTP_PROTO . '://' . _HTTP_DOMAIN . _HTTP_PATH . 'index.php?id=99999');?>
|
||||
<li> curl -OJ <?php print($downloadurl . '99999');?><br>
|
||||
<li> wget --content-disposition <?php print($downloadurl . '99999');?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user