cURL / Mailing Lists / curl-library / Single Mail

curl-library

SFTP patch for touch

From: Vincent Le Normand <vincent_at_le-normand.net>
Date: Thu, 20 Mar 2008 11:45:45 +0100

Hello,

I needed a command to change the modification date of a file on a sftp
server (using QUOTE).

I have quickly implemented a "touch" quote command for SFTP.

The patch is here (for ssh.c file):

This is my first patch, so please be indulgent.

The syntax is the following:

touch <time> path

Here time is a time in a curl_getdate format.

If you have a better idea for a command name, you're welcome.

Thanks again for this library.

Vincent
Received on 2008-03-20