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

arnaudo

martin wrote:

You need to also specify port 21. WinSCP defaults to 22. I guess it should default to 21 with FTP, I'll fix that in the next version.


Hello,
now it works!

Thanks
Massimo
martin

You need to also specify port 21. WinSCP defaults to 22. I guess it should default to 21 with FTP, I'll fix that in the next version.
arnaudo

Hello Prikryl,
i have changed the script like suggested:

c:\Programmi\WinSCP>WinSCP.exe /console /command "open ftp://pippo%40aruba.it:password@ftp.massimo.arnaudo.name"

But:
Connecting to ftp.massimo.arnaudo.name:22 ...
Connection failed.
Timeout detected.
Connection failed.
winscp>

This do not work yet...

Best Regards
Massimo
martin

What protocol does the server support? Note that WinSCP by default uses SFTP. So if you need to use FTP for instance, you need to specify that in the open command.
arnaudo

Hello,
thanks for your answer.
I tried like you suggested, but the response is:

Searching for host...

Network error: Connection timed out.
winscp>

I confirm that usung WinSCO GUI, there are not problem to login.

Any new suggestions?

Best regards
Massimo
martin

Re: comand line login

Correct command would be:
winscp.exe /console /command "open pippo%40aruba.it:password@ftp.massimo.arnaudo.name"
arnaudo

comand line login

Hello everibody,
i would connect to a server using comand line commands.

to do this i tried this line, but the error is 'Host not found'.
Now, using the GUI i can connect with the server, so i think the values are right, and in the comand line i have changed the value '@' with '%40'.

Where is my fault?

c:\BackUp\Target>c:\Programmi\WinSCP\winscp.exe open pippo%40aruba.it:password@ftp.massimo.arnaudo.name

Best regards
Massimo