How to load the files directly into an Amazon EC2 machine

33 views
Skip to first unread message

Guillermo Schwartz

unread,
Aug 30, 2017, 6:22:06 AM8/30/17
to icwsm-data
Hi everyone
I am trying to load directly some of the datasets on Amazon EC2 machines (they have better connection than I do) but the site is password protected. Is there a protocol to include the user and password into the http query?
Thanks.

Guillermo Schwartz

unread,
Aug 30, 2017, 11:08:56 AM8/30/17
to icwsm-data
I found the solution in case somebody has the same problem:

curl -O --user username:password -XPOST http://icwsm.cs.umbc.edu/icwsm2011/01-14-SOCIAL_MEDIA.tar.gz

don't forget the -O (capital letter o) or it will dump the whole file on the terminal stdout
Reply all
Reply to author
Forward
0 new messages