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

martin

Got your email.
I've changed your username.
benzenet

Hi Martin,
Thank you for your response. I sent you an email few minutes ago.

An off topic question: I missed an "n" when I created this user account. How do I change it from "bezenet" to "benzenet"?
martin

Re: Scripting issue in Version 5.7 (Build 5125)

benzenet wrote:

Is there some fundamental change to the "get" command for the latest version that causes this behavior?

It's this change:
https://winscp.net/tracker/1209

While your server claims support for SIZE command, its implementation seems to be limited to binary mode, what WinSCP does not expect.

This issue has been added to the tracker:
https://winscp.net/tracker/1292

Can you send me an email, so I can send you back a development version of WinSCP once I implement a solution for this? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
Benzenet

Re: Scripting issue in Version 5.7 (Build 5125)

Attaching the screenshot of running the script.
benzenet

Scripting issue in Version 5.7 (Build 5125)

Hi I have updated the WinSCP from 5.5.4 (Build 4433) to 5.7 (Build 5125). For most of the ftp servers my vbs connect to are working fine with the latest update. However, I noticed this one ftp server is having problem downloading using the "get" command in batch mode. I keep getting the following issues:
    -Can't get attributes of file
    -Could not retrieve file information
    -SIZE not allowed in ASCII mode

I also tested the same script using the previous version I have (v5.5.4) and it works fine. Is there some fundamental change to the "get" command for the latest version that causes this behavior? I have also attached the log files from both test for your reference.

ps Personal information such as URL, user account, file names, were replaced with angle brackets (<>) in the log file.

Thank you for your help!