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

martin

Re: blank file after upload

Sorry, no. The log file is identical for the first and the third file. I expect this to be a server-side problem.
MDybacz

Re: blank file after upload

I know it sounds unbelievable but it is only the first file that does not upload successfully. I have even tried uploading in multi file mode using 'mput %1\*.txt' command but that has the same issue.

As to using WINSCP on another server, I have but only to upload a single file and that seems to work OK.

I thought the log file would shed some light as to what the server might be doing which you could interpret. Do you have any other recommendations ?
martin

Re: blank file after upload

Is it really only the first file? Did you check the third too?

Did you try to test your script against another server? (not Globalscape)
MDybacz

blank file after upload

I am using WINSCP.COM version 5.7.7 build 6257 to transfer files to an sftp site using a private key. The upload runs via a batch script called for each file it uploads (normally 3 files) which is basically as shown below where parameters are substituted.

echo open sftp://%4:%5@%3 -privatekey=%6 >grgtransfer.sftp
echo cd %7 >>grgtransfer.sftp
echo put %1\%2 >>grgtransfer.sftp
echo close >>grgtransfer.sftp
echo exit >>grgtransfer.sftp
winscp.com /log=%logfile1% /script=grgtransfer.sftp

The script logs on and uploads OK except the first file it uploads always appears blank after completion, even though a listing of the file shows a valid byte size.

I have attached a log file showing the upload (blanked secure data items) for all 3 files showing the first file as successful and valid byte size. I am not a comms expert but can anyone see what might be the cause from the log detail.