Topic "SFTP transfer"

Author Message
nisha111
[View user's profile]

Joined: 2008-08-10
Posts: 3
Hi all,
I just want to send some file to one SFTP server.
Is possible to send some fileto SFTP server using windows batch file?.
because i have to scheduled in my PC.

Can someone point me in the right direction.

***Can any one send me a rough script for this.***


Thanks..
Advertisements
nisha111
[View user's profile]

Joined: 2008-08-10
Posts: 3
i gone through F.A.Q..
i made one script for this.But its not working.
my user name is user1 and password pass1
url:xxx.xxx.xxx.xxx
port:1111.
my local directory is c:/test
I have to send all data from my local directory to sftp server.
in a server i can access only one folder named DATA.
Can any one send me a rough script for this.

Thanks

nisha
nisha111
[View user's profile]

Joined: 2008-08-10
Posts: 3
I am new for this SFTP transfer.
I dont know which type of server they are using and all..
i just know only i can get permission for only one folder.
is it possible to send data using this winscp
Can any one help me regarding this...

Thanks
nisha
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
nisha111 wrote:
i gone through F.A.Q..
i made one script for this.But its not working.

What is not working?
_________________
Martin Prikryl
JRB_BMB
[View user's profile]

Joined: 2008-07-01
Posts: 24
Location: Midlands, UK
nisha,

Make a saved session to the ftp.
Open that session by its name in the script
set it to transfer all files in your local folder after ensuring your remote folder is set to the folder you can only access.
The examples in the FAQS and guides explain all of the above but you do need to read it carefully!!

look at the command line FAQs and simply call winSCP.com with the scripting parameters in a bat file. (if you don't know how to create the bat file and call the exe use google!)

Call this via windows scheduler.

Hope that gives you some idea of what to do. I'd rather not give you a step-by-step so you know what it's doing so if it breaks you can fix it!
Good luck
JB
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