G
G
GreenX52021-05-01 21:17:58
cmd/bat
GreenX5, 2021-05-01 21:17:58

How to transfer xlsx file via ftp?

I wrote a batch file to a friend to upload an Excel file to the site, the file I created in my ultraoffice arrives correct, the file created by a friend in Excel 13 arrives broken, what needs to be corrected?
He sends me the same file by mail, ultrafis opens it normally ...

@Echo Off
(echo.login
echo.password
echo.mput tab.xlsx
echo.quit)>ftp_command.txt
ftp -s:ftp_command.txt -i anyhost.ru
del /F /Q ftp_command.txt

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GreenX5, 2021-05-01
@GreenX5

That's how it always is, just asked, immediately found a solution. After the password we write
echo.binary
and everything is fine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question