Questions tagged [put]

5 questions
34
votes
6 answers

sftp: upload all files, directories and sub-directories contained in a folder

On machine A I have the folder /home/a/ On machine B I have the folder /home/b/ I wish transfer all files, directories and sub-directories of /home/a in /home/b with sftp On machine A I tried the commands: sftp fibon82@machineB.com put /home/a/*…
fibon82
  • 343
5
votes
1 answer

cURL hangs trying to upload file from stdin

I'm trying to PUT a file with cURL. This hangs: curl -vvv --digest -u user -T - https://example.com/file.txt < file This does not: curl -vvv --digest -u user -T file https://example.com/file.txt What's going on? * About to connect() to example.com…
s4y
  • 3,859
2
votes
1 answer

Repeatedly paste/put down a vertical block in vim

In vim, when I have a vertical block selected (such as a single column of text), I would like to be able to repeatedly put (paste) whatever is in the current register. For example, if I had something like: username0 password0…
0
votes
1 answer

Unable to test HTTP PUT-based file upload via Squid Proxy

I can upload a file to my Apache web server using Curl just fine: echo "[$(date)] file contents." | curl -T - http://WEB-SERVER/upload/sample.put However, if I put a Squid proxy server in between, then I am not able to: echo "[$(date)] file…
Harry
  • 861
-1
votes
4 answers

Is it possible to embed a keylogger into a jpg image?

I'm curious to know if it's possible to make a jpg file that contains a keylogger that will execute when the image is opened. I strongly believe such thing is not possible, however I'm hearing more and more rumors of this. Any thoughts?
Obsrv_
  • 17