• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

FTP Commands

pocketroxetz

Junior Member
Hello. I am trying to make a .com file that transfers a file from a remote computer to my local one using FTP commands on DOS. My program runs, but it is not getting the file. Can anyone provide some help? Thanks in advance! Here is the code:

ftp
open
its.calpoly.edu
username
password
cd folder_1
ascii
lcd C:\"Documents and Settings\me\My Documents"
get prog.rec
quit
 
as an fyi, expect is a better scripting language for this kind of stuff (at least in windows, where you'r shell is a bit gimpy)
 
Back
Top