Topic "Atomic file transfers"

Author Message
ikti

Guest


Hi,

When i upload my PHP scripts using WINScp for a short period they are incomplete. It would be nice if file was uploaded under temp name first and after transfer is complete instantly renamed.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26553
Location: Prague, Czechia
Set resume limit threshold to 0.
_________________
Martin Prikryl
itki

Guest


martin wrote:
Set resume limit threshold to 0.

It didn't solve my problem. Now during upload file does not exist.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26553
Location: Prague, Czechia
Sorry you are right! The feature is already implemented, but not released yet. I've forgot Wink
_________________
Martin Prikryl
Hasufin
[View user's profile]
Donor
Joined: 2007-10-05
Posts: 4
Location: Commerce, TX
martin wrote:
Sorry you are right! The feature is already implemented, but not released yet. I've forgot Wink


Martin, will this "unreleased" feature also support going the other way?
Basically.... I need to move files from an FTP server to me... I need to remove them after I download each one. In this case it is a large directory containing lots of files.. so doing a blind mget * / mdelete * style would not work so well Smile

Otherwise, I'll have to make some major work arounds..... so far Im thinking:

- login
- write out directory listing to a tmp file.
- read file into vbscript
- parse out the filenames
- create a "temp" script.. that contains gets & rm's for each file...
- run winscp w/ temp script
- remove tmp file & script

I'm not sure that my lil app would be widely used - so no use in custom adding stuff.... but if you already have it coded........ Smile Never hurts to ask right?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26553
Location: Prague, Czechia
The next version will support "get /delete" as an equivalent of "Move" command in GUI. I suppose that this is what you ask for.
_________________
Martin Prikryl
Hasufin
[View user's profile]
Donor
Joined: 2007-10-05
Posts: 4
Location: Commerce, TX
martin wrote:
The next version will support "get /delete" as an equivalent of "Move" command in GUI. I suppose that this is what you ask for.


......... yep. You summarize so easily!
Advertisements

You can post new topics in this forum






Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License