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

garyn

Hi,

Thanks. I’ll give that a go when I’m back in the office in the new year and let you know how it goes.

Gary.
martin

garyn wrote:

Do you have any ideas what might possibly cause files to disappear from the folder without being uploaded?

No. But I'm sending you a development version of WinSCP, which logs the deletion of the local source files. Try to use it and post a log file once any file disappears again.

I'm wondering whether to put the pdf and xml files in separate folders and run two separate scripts - do you think that might help, or at least be a better way to do it?

I do not thing it is a better way and I do not thing it would make any difference.
garyn

Thanks. It's a bit odd. Do you have any ideas what might possibly cause files to disappear from the folder without being uploaded?
I'm wondering whether to put the pdf and xml files in separate folders and run two separate scripts - do you think that might help, or at least be a better way to do it?

Gary.
martin

garyn wrote:

I'm wondering if it's a timing thing and whether that particular file was dropped into the folder after the pdf upload command had finished

That's possible.

and then WinSCP deleted it once the whole batch had finished.

But this is not possible. The put -delete deletes only the files that are successfully uploaded. And the deleting happens as part of the put command, not "once the whole batch had finished".
garyn

Hi,

Yes, 1097_1.pdf was one of them. I can see it was skipped during the xml upload due to the filter. However, as it was not picked up during the pdf upload, I'm wondering if it's a timing thing and whether that particular file was dropped into the folder after the pdf upload command had finished and then WinSCP deleted it once the whole batch had finished. Is that possible?
martin

Re: Files being skipped during upload

Can you give us names of some of the files that are skipped?
Guest

Files being skipped during upload

Hi,

I'm having issues where some files are being skipped in an upload to an FTP server. I've attached the script and log file and I'd be very grateful if anyone can give me a clue as to why the files are being skipped. Once skipped, it seems that they are deleted as they never get selected in a subsequent upload.

I am uploading XML and PDF files in two separate uploads from the same folder to a separate folder for each on the ftp site (I hope that makes sense). Could that be the issue? Would I be better off putting the XML and PDF files in separate folders for upload to the ftp site?

I'm using WinSCP v5.15.9 running on an Azure server Windows Server 2016 Datacenter.

I'd be grateful for any pointers on this.

Thanks,

Gary.