[olug] sftp using cURL
adunlop
techworld.mail at gmail.com
Sun May 10 14:37:46 UTC 2009
Why not simply use rsync or scp for this? It seems like it would be
better to use a command built around this concept, instead of one that
is so tangentially.
Aaron
On May 10, 2009, at 6:07 AM, Aric Aasgaard wrote:
> I guess I never considered using cURL for pushing files.
>
> "i'm trying to push a file to an sftp server using curl."
>
> I did read that but to me for some reason it still meant grab a web
> part and
> send it to a sftp server.
>
> Sorry, I'm new....
>
> " curl -T /home/.../.../.../.../.../8.3 -u username:password sftp://
> www.domain.com/opt/www_sites/.../.../8.3 "
>
> just curious why use curl for that?
>
> -----Original Message-----
> From: olug-bounces at olug.org [mailto:olug-bounces at olug.org] On Behalf
> Of
> DYNATRON tech
> Sent: Saturday, May 09, 2009 10:44 AM
> To: Omaha Linux User Group
> Subject: Re: [olug] sftp using cURL
>
> curl -T /home/.../.../.../.../.../8.3 -u username:password sftp://
> www.domain.com/opt/www_sites/.../.../8.3
>
>
> On Sat, May 9, 2009 at 10:40 AM, Chad Homan <choman at gmail.com> wrote:
>
>> What the command line syntax that you are using?
>>
>> Chad, CISSP
>>
>> Bernard Baruch<
>> http://www.brainyquote.com/quotes/authors/b/bernard_baruch.html>
>> - "Vote for the man who promises least; he'll be the least
>> disappointing."
>>
>> On Sat, May 9, 2009 at 8:53 AM, DYNATRON tech <dynatron at gmail.com>
>> wrote:
>>
>>> i'm trying to push a file to an sftp server using curl. i keep
>>> getting a
>>> "(1) protocol not supported or disabled in libcurl" error, but the
>>> cURL
>>> website states....
>>>
>>> "curl is a command line tool for transferring files with URL syntax,
>>> supporting FTP, FTPS, HTTP, HTTPS, SCP, *SFTP*, TFTP, TELNET,
>>> DICT, FILE
>>> and
>>> LDAP"
>>>
>>> ...so i'm fairly sure it supports the protocol.
>>>
>>>
>>> my version is 7.18 (installed automatically through ubuntu 8.04
>>> update
>>> manager), but the website states....
>>>
>>> *"The most recent stable version of curl is version 7.17.0"
>>>
>>> *...so that may be an issue. seems weird that ubuntu would
>>> automatically
>>> update me to a development version.
>>>
>>>
>>> after browsing the website, i've hit a wall. i was hoping someone
>>> out
>> there
>>> on olug would have some knowledge to share. any help would be
>>> greatly
>>> appreciated.
>>> _______________________________________________
>>> OLUG mailing list
>>> OLUG at olug.org
>>> https://lists.olug.org/mailman/listinfo/olug
>>>
>> _______________________________________________
>> 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
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
More information about the OLUG
mailing list