Topic "Command Line Put with XML Files"

Author Message
[View user's profile]

Joined: 2014-08-13
Posts: 2
Hi Guy's,

I'm uploading an XML file to an FTP site
when transferring - the XML file is being uploaded as a temp file and once the file is fully uploaded, it is then renamed as it's proper file name

created /B20140813.csv - 226 - 15844 - 22
created /B20140813.xml.filepart - 226 - 190293 - 22
rnfr /B20140813.xml.filepart - 350 - - - 22
rnto /B20140813.xml - 250 - - - 22
quit - - 221 - - - 22

any ideas how to upload an XML file without using a temp file and then renaming..?

it does seem to do this with a csv or txt file

any help greatfully received
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Disable transfer to temporary file name with put ... -resumesupport=off

Note that it's not about XML vs. TXT/CSV. Only files over 100 KB are transferred using temporary file name by default.
[View user's profile]

Joined: 2014-08-13
Posts: 2
Many Thanks

all seems to be working now

You can post new topics in this forum


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