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
Umm, read my answer again!
If you have something to add or contribute, feel free. Otherwise my point was that you apparently dont want faster updates... so you want slower updates by process of elimination.
If you have something to contribute, meaningful answers are better.
Question
sini
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
ftp.txt
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