Jump to content

needforspeed

Member
  • Posts

    16
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by needforspeed

  1. I got it working the way I want using the AT command. But I tried that program anyway, and of course it pops up a message which is fine for testing, but a new file wasn't uploaded. Oh well, now I've got to play with getting this to work on 98 and ME.
  2. @echo off setlocal ::Variables set f=C:\ftpc.txt PAUSE ::Compose ftp commands file echo open 192.168.1.50>>%f% echo user incoming PASSWORD>>%f% PAUSE ::echo binary>>%f% echo ascii>>%f% echo lcd "C:\Program Files\Folding@Home">>%f% PAUSE echo cd viper>>%f% echo put FAHlog.txt>>%f% PAUSE echo bye>>%f% ::Execute ftp command ::Use "-d" key for verbose output :: ftp -n -d -s:%f% > C:\out.txt ::start /MIN /WAIT ftp.exe -n -d -s:%f% > C:\out.txt ftp -n -d -s:%f% PAUSE ::Cleanup del /f /q %f% endlocal That's the exact code except for my password to the ftp server. If I just double click on the .cmd file, everything works correctly, it pauses, the new file gets uploaded, it's all good. But, if I use the wizard to schedule this task, I see the DOS window on the screen for an instant, then it's gone, I never had to press a key to make it continue or anything. I don't understand it help please! This thing is supposed to just upload the log file for my folding clients to my server, so they are all in a central place and I can check up on them daily from anywhere. I'm starting to wonder if it's not something completely rediculous like the @ sign in the path to the .cmd file or something. --EDIT--- I think I was right about the @ sign, I put the file in the root of C: an scheduled it and it worked.....Now, I need to figure out how to make it not flash the DOS screen, I want it to be completely silent.
  3. Thanks for the links, I've scheduled the task with schtasks and it appears in the scheduled tasks window, but it still says "Could not start". I also renamed it to .cmd. When I run it with C:\WinNT\System32\CMD.EXE mybat.cmd (changed to work for mine obviously), it's still not working. I don't understand the Could not start, it's doing that for every task now, no matter what I add. edit---- Ok, I found out where the log file is at for the scheduled tasks, and it looks like it's claiming that it can't find the file to execute. Using the AT command, it apparently didn't know what account to use to execute it. I'll keep trying with this....
  4. Well I haven't searched for schedule wizard yet, but I've tried the other suggestions from you guys and now the task scheduler won't run any tasks. Every one says "Could not start" in the status column, no matter if I drag and drop a batch file there or use the AT command. Got any ideas on that? I've been googling and get a lot of info about batch files but nothing that seems to help. Thanks for the replies so far guys.
  5. Didn't know if this topic should go here or in programming or somewhere else so I'll try here I wrote a batch file that will upload a log file to my ftp server, and when I manually run it, everything works fine. So I scheduled it using the AT command and it executes but doesn't work. If I use the /INTERACTIVE switch, I see the DOS window for it flash quickly on the screen, but I can't figure out a way to log the output of it. I tried to use the Scheduled Tasks thing in XP but it does the same thing. Any ideas on what the problem might be or how I can fix it? Here's the file: @echo off setlocal ::Variables set f=C:\ftpc.txt ::Compose ftp commands file echo open SERVER-IP>>%f% echo user USERNAME PASSWORD>>%f% echo binary>>%f% echo lcd "C:\Path To\Directory">>%f% echo cd path-on-server>>%f% echo put log.txt>>%f% echo bye>>%f% ::Execute ftp command ::Use "-d" key for verbose output ftp -n -d -s:%f% > C:\out.txt ::Cleanup del /f /q %f% endlocal The file C:\out.txt never gets created when it's run as a scheduled event, but when I run manually, it's created and has the same output as the batch file (everything works fine). I can't figure out why it's not working when run by scheduler
  6. If you want to write programs that could be cross platform, you'll want C++. I like how easy/fast it is to make forms in visual studio though. I wish there was something like that for regular C++ that could be used for multiple OS's.
  7. That is true, but that would belong on the Networks, Internet, & Security forums instead of Hosting (IIS, Apache, etc.) The first post in this thread wasn't very specific. Could also be ftp server, mail server, DNS server, game server, and all the others you can think of.
  8. If you want a really easy to use webserver, get Abyss Web Server from http://www.aprelium.com The current public release works flawlessly but lacks some features, you probably wouldn't notice the missing features yet though since it seems like you are just beginning. If you sign up on the forums, you can download the beta for the next version which has a lot more features and runs pretty good for a beta version. A lot of tutorials posted there also so check it out.
  9. I'm using Samurize and I like it a lot.
  10. I'm sure it's possible. I don't know how to do it, but I login to a site frequently where in the address is something.exe?*** or something like that, and it's a legitimate site.
  11. I use Zone Alarm because it took a while for me to figure out how to configure the built in firewall and I still didn't like it. (Not using SP2 though).
  12. let me quote myself, what i want to know if it can be downloaded from ximian website alone from linux and it's installed online, must be downloaded alone, or must be integrated with suse or redhat If you read Ximians site, it tells you how to install it. You'll simply use the wget command from a terminal and the address of the file and it will do everything else. It tells you exactly how to do it on their site. I haven't had good luck with Ximian so far on Suse systems, but it's been great on Red Hat systems.
×
×
  • Create New...