curl-and-php
Re: TFTP PUT in PHP
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 26 Oct 2007 23:26:25 +0200 (CEST)
Date: Fri, 26 Oct 2007 23:26:25 +0200 (CEST)
On Fri, 26 Oct 2007, Mino Bernardi wrote:
> I've looked for documentation, googled and scanned the source code in
> lib/tftp.c to understand which option variables I should set in order to
> specify source and destination filenames...
I'm not the PHP/CURL expert, but your snippet looked totally wrong. I would
suggest you get a FTP upload example and just prepend a T to the protocol part
of the URL.
Like this example: http://curl.haxx.se/libcurl/php/examples/ftpupload.html
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2007-10-26