Anonymous posting is allowed. We will try to reply to your posts as soon as possible. Another members are encouraged to reply to new users.
If you specify your email in the posted message, it will be masked. You will receive notification when someone replies to your post.
NOTE: we are slowly moving interesting forum posts to our Knowledge base so if you see posts deleted - you know where to find them.
We use SFTP ActiveX Control version 3.0.3.34 with blocking turned on. The component is integrated in to a VB 6 program. We have two production SFTP servers that we connect to with the product. One is an IIS box and we have a Serv-U 7.4.0.1 server with SFTP.
Both servers go through the same code, but we are getting different results on the servers. We are trying to use the AppendFile method from the object to append to the end of the existing file on the FTP server. The IIS box works correctly and appends the file. The Serv-U server does not append the local file to the remote file like it is supposed to. Without throwing an error, it just overwrites the remote file on the server with the local file. No appending, no warning, no exception. You can see how this could be a bad thing in a production environment.
Hi. I have double-checked this, and this seems to be server-side issue. This must be a bug in Serv-U. I tested this against OpenSSH and it works correctly.
Seems that when "openfile" packet is sent to the server only with SSH_FXF_CREAT and SSH_FXF_WRITE flags, it truncates it, even SSH_FXF_TRUNC was *NOT* sent to the server. While doing so, remote file size is reset to 0 so upload starts from the beginning.
I wrote you exact flags in case you want to contact Serv-U support related to this issue.
Kind regards, Kreso
____________________________________
WeOnlyDo! Software - Internet Security Components -----=== http://www.weonlydo.com ===-----
Was this ever resolved as I have the same problem!
Quote:Hi. I have double-checked this, and this seems to be server-side issue. This must be a bug in Serv-U. I tested this against OpenSSH and it works correctly.
Seems that when "openfile" packet is sent to the server only with SSH_FXF_CREAT and SSH_FXF_WRITE flags, it truncates it, even SSH_FXF_TRUNC was *NOT* sent to the server. While doing so, remote file size is reset to 0 so upload starts from the beginning.
I wrote you exact flags in case you want to contact Serv-U support related to this issue.