• 0

Upload file script assistance


Question

Hello, I am currently uploading a csv file that changes fairly frequently (1-2 seconds) via a batch script and ftp. While this does work it's fairly slow. More time is spent on the ftp commands than actually uploading the file (300-500 bytes).

 

Any assistance or guidance in a better process would be greatly appreciated.

 

upload.bat

:loop
ftp -s:ftp.txt
goto loop

 

ftp.txt

open ftp.site.com
login
password
binary
put "file.csv"
disconnect
bye

 

Link to comment
https://www.neowin.net/forum/topic/1384028-upload-file-script-assistance/
Share on other sites

2 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.