Topic "Simple example to upload the files"

Author Message
Prashant

Guest


Hi

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 : mydomain.in (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.
Run(notepad.exe)
can anybody give the syntax wherein no password is prompted and i will pass on password at runtime and not stored in script file
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
For a general guide to scripting, see:
http://winscp.net/eng/docs/guide_automation

Regarding the password: You can use parametrized script:
http://winscp.net/eng/docs/scripting#syntax
Note that %1% syntax.

Or you can provide all commands, including password, directly on WinSCP command-line.
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