Post a reply

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

azona

Get only files which are complete

has this been implemented yet? and if so How do I use it..

Thanks
labsy

That would be really great add-on! :D
Going that way you'll create whole new FTP protocol, much better than oroginal 8)
martin

Re: GET only files which are complete

Actually not, it supports absolute time only now. But I'll add relative time too. It makes sense.
labsy

Re: GET only files which are complete

Excellent! Thank you very much!

So if I understand correctly, I will be able to do something like this:
GET -delete -minage=10 *.*

So GET will process only files, which minimum age is 10 minutes.
Awaiting new version...

And your response time is also excellent, great job, which makes my eyes to search for "Donate" button :)
martin

Re: GET only files which are complete

labsy wrote:

- download only files, older than 10 minutes

The 5.0.6, coming out soon will allow file masks based on modification time.
https://winscp.net/tracker/672
labsy

GET only files which are complete

Hi,
I found WinSCP a really great tool for automated download files from FTP.
But I have problem:

Automated script runs every 15 minutes,
then it GET -delete *.*
and exits

Plain and simple. It downloads all newly uploaded files from FTP to my local computer.
PROBLEM?
If a file on FTP is just in the middle of upload process (some user is just uploading, but not yet finished), I get only part of file, truncated, not usable.

QUESTION:
Is there some idea how could I do either:
- download only files, older than 10 minutes
- or prevent GET command to execute if file is in the middle of some other upload process?

Thankyo!