Re: [MBS] Resuming uploads with SFTP

2017-11-16 Thread Christian Schmitz

> 
> From what I’m gathering about SFTP,  I am wondering whether this is even 
> possible with libcurl. It is my understanding that its SFTP command 
> vocabulary is relatively basic and limited.  Using built-in SFTP in the 
> terminal, I am successful with the “reput” command.  So calling that from a 
> shell, on Mac at least, is a possibility.

As far as I see in library code, seeking for resume is implemented.
Of course server needs to respond to file size query. If that fails, it starts 
a new upload.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/


___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


[MBS] Resuming uploads with SFTP

2017-11-16 Thread Jerry Fritschle
I am working on adding SFTP compatibility to my products that, through 
CURLSMBS, employ FTP.  I am testing against an up-to-date CrushFTP server that 
I administer myself, which is accessible from the internet.

For my needs, I have worked everything out except for successfully being able 
to resume broken uploads.  Under regular FTP all is well, but trying it with 
SFTP results in the remote files being corrupted, with a byte count of 0.  The 
ability to resume is important, because my apps are primarily for moving large 
image files.  I’m interested in the security angle for files that may contain 
personal information.

From what I’m gathering about SFTP,  I am wondering whether this is even 
possible with libcurl. It is my understanding that its SFTP command vocabulary 
is relatively basic and limited.  Using built-in SFTP in the terminal, I am 
successful with the “reput” command.  So calling that from a shell, on Mac at 
least, is a possibility.

I appreciate hearing from anyone with experience in this.  I can also create an 
account on my server for anyone who wants to play. But I mainly just want to 
know whether it can be done via the CURL plugin before I spend any more time on 
it.

Thanks.

Jerry

-
"Drama is life with the dull bits cut out."
-Alfred Hitchcock

Jerry Fritschle
jerryfritsc...@icloud.com



___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info