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

PMORRISON

Thank you, that worked
PMORRISON

Connection to ftp site - files not transferring


Connecting to ftp.spatialest.com:990 ...
TLS connection established. Waiting for welcome message...
Connected
Starting the session...
Session started.
Active session: [1] huntington-ny@ftp.spatialest.com
winscp>

The above is the message getting from the batch file execution. Below is the batch file:
@echo off
 
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
  /log="C:\writable\path\to\log\WinSCP.log" /ini=nul ^
  /command ^
    "open ftps://huntington-ny:yFN62DSes@ftp.spatialest.com/ -certificate=""ee:80:5a:de:31:07:e2:f4:8f:5b:ce:aa:45:ed:8c:7d:48:27:0e:6d""" ^   
    "put ""e:\Spatialest data\transfer\*"" /"^
    "exit"
 
set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
  echo Success
) else (
  echo Error
)
 
exit /b %WINSCP_RESULT%

The transfer folder has (3) files in it.

Looks like the connection is made but the files do not transfer.

Original I was getting a certificate error and had to manually answer Y, N

Thanks
pmorrison@huntingtonny.gov