Topic "Simple example to upload the files"

Author Message



I am very new to this my requirement is to upload the file using windows command line tool. I had the following information with me
Domain : (Linux shared hosting)
FTP User : ftp_user
Pwd : password
destination folder : /upload (Permission 777)
file to transfer : config.ini
Host os : Windows 7 32 Bit
If exist force to overwite

My applicaiton will call a batch / script file where in all information is provided. I am using Powerbuilder 11.5 where in i can give call to any third party applicaiton.
can anybody give the syntax wherein no password is prompted and i will pass on password at runtime and not stored in script file
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
For a general guide to scripting, see:

Regarding the password: You can use parametrized script:
Note that %1% syntax.

Or you can provide all commands, including password, directly on WinSCP command-line.

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License