Post a reply

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

martin

Re: Bat file opening session but will not transfer files

winscp.com /ini=nul /command ^
    "open ftp://username:password@host/" ^
    "put  -latest Z:\ARExtract\outgoing\* /inbound/test/arextract/" ^
    "exit"

Use Generate Code function to have WinSCP GUI generate a batch file template for you:
https://winscp.net/eng/docs/guide_automation#generating
donnette

Bat file opening session but will not transfer files

Hi,

My bat file opens the session but will not move the files. The commands are below
*********************************************

winscp.com /ini=nul /command^
open ftp:@hostkey----this works fine

put -latest Z:\ARExtract\outgoing\* /inbound/test/arextract
exit

*******************************************************

Can anyone help me solve?

Thank you,
Donnette