Topic "Help in my First batch code??"

Author Message
cva
[View user's profile]

Joined: 2012-03-11
Posts: 1
Location: London
I'm new to this client

am trying at command-line entry, to pull down a CSV file from below site to my local machine

ftp.xyz.com
port NUMBER 990

i',m trying at command prompt below AND Getting error message


winscp> open ftp://user:password@ftp.xyz.com:990
Connecting to ftp.xyz.com:990 ...
Connected with ftp.xyz.com:990. Waiting for welcome message...
Connection failed.
Timeout detected.
Connection failed.

Please could some one help in this?
is my syntax wrong?
and also how to write/connect above details as batch file?

NOTE:
Using below details, i can connect through File Zilla and able to import CSV file BUT I need it as batch to schedule daily
site name----> ftp.xyz.com
port NUMBER--> 990


Thanks for your time and support.
Regards,
Cva
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Port 990 suggests you should be using implicit FTPS, not plain FTP:
open -implicit ftps://user:password@ftp.xyz.com/
shruti2885
[View user's profile]

Joined: 2012-06-27
Posts: 2
I have a similar issue and i changed it to read open -implicit ftps://user:password@ftp.xyz.com/ but then I get host does not exist
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
shruti2885 wrote:
I have a similar issue and i changed it to read open -implicit ftps://user:password@ftp.xyz.com/ but then I get host does not exist

Please post a log file (use /log command-line parameter).
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License