Help in my First batch code??

Advertisement

cva
Joined:
Posts:
1
Location:
London

Help in my First batch code??

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,468
Location:
Prague, Czechia

Re: Help in my First batch code??

Port 990 suggests you should be using implicit FTPS, not plain FTP:
open -implicit ftps://user:password@ftp.xyz.com/

Reply with quote

shruti2885
Joined:
Posts:
2

similar issue

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

Reply with quote

martin
Site Admin
martin avatar

Re: similar issue

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).

Reply with quote

Advertisement

You can post new topics in this forum