Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

mlaco

Re: Web site visited during files upload

martin wrote:

This feature has been implemented already. It will be included into the next major release.


Thx!!!
martin

Re: Web site visited during files upload

This feature has been implemented already. It will be included into the next major release.
mlaco

Re: Web site visited during files upload

martin wrote:

No. But I can implement that.


Wow, that would be great!!! :-)
martin

Re: Web site visited during files upload

mlaco wrote:

Is there a way to setup WinSCP not to delete the original file, till the upload is complete?

No. But I can implement that.
mlaco

Re: Web site visited during files upload

martin wrote:

You can achieve this by using SFTP and forcing WinSCP to enable resumable transfer for every file. Read documentation.


Thx, for reply!

I tried this. During the upload the target file is deleted, the upload-in-progress file has tmp name "filename.filepart".

Problem is, that the original file is deleted: so the website during upload is broken - because the file is missing.

Is there a way to setup WinSCP not to delete the original file, till the upload is complete?


My environment:

SSH protocol version = SSH-2
SSH implementation = OpenSSH_4.3
Encryption algorithm = aes
Compression = No
File transfer protocol = SFTP (v3)
------------------------------------------------------------
Can change permissions = Yes
Can change owner/group = No
Can execute arbitrary command = No
Can create symlink/hardlink = Yes/No
Can lookup user groups = No
Can duplicate remote files = No
Can check available space = No
Native text (ASCII) mode transfers = No
------------------------------------------------------------
Additional protocol information
The server does not support any SFTP extension.
martin

Re: Web site visited during files upload

You can achieve this by using SFTP and forcing WinSCP to enable resumable transfer for every file. Read documentation.
mlaco

Web site visited during files upload

Hi!

I use WinSCP for updating my php website. I get regulary php parse-errors in php-error log. The reason is that people visit website during the file being copied...

Is there any setting which would result in uploading file to a temporary filename and than rename it automatically?

If not, what are the options?

(I think about having 2 copies of website on the server. One for production and one for uploading. After each upload, I would run some script to update the production copy).

Thanks for WinSCP, great software!