Author Topic: FTP Software  (Read 1575 times)

0 Members and 1 Guest are viewing this topic.

Offline daybreak

  • Senior Member
  • **
  • Posts: 98
    • Alma Weather
FTP Software
« on: June 11, 2023, 10:45:35 AM »
Hello,

I'm having trouble with my old VWS program uploading files.  Is there a ftp software that I can schedule uploading individual files not folders?  I use Fling to upload a NOAA folder but I can't see where it will do individual files.  Thanks in advance!

Richard

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1469
  • BismarckWeather.net
    • BismarckWeather.net
Re: FTP Software
« Reply #1 on: June 11, 2023, 11:49:27 AM »
I use WinSCP.  If you perform a certain function in WinSCP, before you terminate the session, you can have WinSCP create a text file of what you did.  It shows login, upload, delete, what ever, then log off.

Then from a command line you can run WinScp, with that text file actions.  That you can turn into a regular Windows Task Scheduler task.

I made a CMD file that task scheduler runs.  This is the contents of the CMD file.

Code: [Select]
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="c:\zip\dayfile.log" /ini=nul /script="C:\ZIP\dayfile_upload.txt"
This is the contents of my WinSCP commands in the dayfile_upload.txt shown above.  I'm uploading my CumulusMX dayfile to my site every night.  I've removed the login info.

Code: [Select]
open ftp://USERNAME:PASSWORD@bismarckweather.net/

put C:\CumulusMX\data\dayfile.txt dayfile.txt
# Your command 2

exit

Free, and I haven't had to touch it once after setup.  The automated files I'm uploading only go once a day.  But I see no reason why you couldn't schedule it more often.
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

 

anything