Filepart

Advertisement

Cocono1
Guest

Filepart

Hi there,

I am currently transferring a file via a batch file. The file of over 100K so WINSCP is adding .filepart which is causing an issue for the person I am transferring the file to.

How do I prevent this in my batch code?

I have about read -resumesupport as below but I don't understand how to apply this

To configure transfer to temporary file name in scripting, use -resumesupport switch of file transfer commands

My command looks like:

winscp.com /command "option batch abort" "option confirm off" "open test:test@test.com/" "put testfile.csv /foldernew/" "exit"

Thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,317
Location:
Prague, Czechia

Re: Filepart

Use:

winscp.com /command "option batch abort" "option confirm off" "open test:test@test.com/" "put -resumesupport=off testfile.csv /foldernew/" "exit"
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum