[olug] sftp using cURL

DYNATRON tech dynatron at gmail.com
Mon May 11 16:05:30 UTC 2009


small comment....

cURL wrote over the existing file without confirmation, so use carefully.




On Mon, May 11, 2009 at 11:04 AM, DYNATRON tech <dynatron at gmail.com> wrote:

> when i 'make install' the "ubuntu-friendly version", it installs to the
> wrong directory! when running configure i must specify /usr/bin as the
> install directory.
>
> ./configure --prefix=/path/to/curl/tree
>
> i did so, but for some reason it installed in the wrong directory anyway.
> (maybe just leftovers from the last attempt to compile)
>
>
> so, i cleaned up that mess.....and installed the current stable version in
> the correct location
>
>
> administrator at bunt:~$ curl -V
> curl 7.19.4 (i686-pc-linux-gnu) libcurl/7.19.4 zlib/1.2.3.3 libssh2/0.18
> Protocols: tftp ftp telnet dict http file scp sftp
> Features: IPv6 Largefile libz
>
>
> administrator at bunt:~$ curl -T /home/.../index.html -u user:password
> sftp://www.awesomehost.com/opt/www_sites/mysite/.../index.html
>
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
> Current
>                                  Dload  Upload   Total   Spent    Left
> Speed
> 100 11197    0     0  100 11197      0   4240  0:00:02  0:00:02 --:--:--
> 4240
> administrator at bunt:~$
>
>
> so....success.....
>
>
> let me take this moment to thank everyone that dropped in. this would have
> taken a long time without you....much thanks.
>
>
>
> On Mon, May 11, 2009 at 10:15 AM, Christopher Cashell <topher-olug at zyp.org
> > wrote:
>
>> On Mon, May 11, 2009 at 10:03 AM, DYNATRON tech <dynatron at gmail.com>
>> wrote:
>> > make install appeared to install, but did not.
>> >
>> > root at bunt:/home/administrator/Desktop/curl-7.18.0# apt-get remove curl
>> > Reading package lists... Done
>> > Building dependency tree
>> > Reading state information... Done
>> > Package curl is not installed, so not removed
>>
>> In order for it to be managed by the native package tools, you'll need
>> to build a .deb and install it with dpkg/apt-get.  There's a quick
>> tutorial and rebuilding Debian packages (which also applies to Ubuntu
>> packages) here: http://www.debian-administration.org/articles/20
>>
>> I'd also recommend reading the comments on the article, as there's
>> some very good information there, too.  There are other tutorials and
>> how-to's on rebuilding/recompiling Debian/Ubuntu packages, too, but
>> that one I happen to have bookmarked.
>>
>> --
>> Christopher
>> _______________________________________________
>> OLUG mailing list
>> OLUG at olug.org
>> https://lists.olug.org/mailman/listinfo/olug
>>
>
>
>
> --
> dynatron digital services
> box 191 - 68037
> www.dynatron.org
> dynatron at gmail.com
>



-- 
dynatron digital services
box 191 - 68037
www.dynatron.org
dynatron at gmail.com



More information about the OLUG mailing list