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: using port number in scripting

@arwind: Do you mean that it does not work, when you need to specify port number in script? What protocol is the server using?
arwind

using port number in scripting

Hi,
I was using scripting file to automation copy file from PC A to PC B. It's running well, but when PC A using PORT that scripting not running.

That script:
option batch on
option confirm off
open abcd:abcdefg@202.66.66.1:5550
cd /usr/local/
option transfer binary
lcd c:\
get *
close
exit

please help me! :-(
arwind
Guest

Re: Upload of text files using command line

I use
option batch on
option confirm off
open xxx:yyy@zz.zz.zz.zz
put e:\data\1.txt
close
exit

Need to know how I can force Bin instead of ascii, which is used by default. That was the problem.
Me

Upload of text files using command line

Hi,

I set up WinSCP to transfer a txt file to an SFTP server. The file is transferred but the format changes. Are there any option to specify transfer mode and file system (win/unix) in command mode? I can't find any info about it.

I use the sample file for scripting and start it from SQL server on a Windows server. FTP server is using Globalscape SFTP server and I believe it is a Windows server, though I'm not sure.