Connection to ftp site - files not transferring

Advertisement

PMORRISON
Joined:
Posts:
4
Location:
L.I. NY

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

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum