home *** CD-ROM | disk | FTP | other *** search
/ Hacks & Cracks / Hacks_and_Cracks.iso / vol1 / pc_sd138.zip / SCRIPTS.ZIP / MPUT.FTP < prev    next >
Text File  |  1997-01-04  |  1KB  |  33 lines

  1. ;This script demonstrates uploading all files in a local directory
  2. ;to a directory on a ftp server.  The TYPE A sets the transfer
  3. ;mode to ASCII versus TYPE I for binary.  To use this script
  4. ;modify the CONN statement to reflect the ftp server you want to
  5. ;connect to.  Then modify the USER and PASS statements with your
  6. ;username and password.  Finally, specify the full path to the remote
  7. ;directory followed by the full path to the local directory and a
  8. ;wildcard pattern in the STOR statement.  All of the
  9. ;settings have been commented out with the ;.  If you need any of
  10. ;them just remove the ; and set the setting to whatever is appropriate.
  11. ;Please consult the help file sdftp.hlp for more information.  You
  12. ;must have a wildcard pattern following the local directory.
  13.  
  14. [Settings]
  15. ;Silent=1
  16. ;TimeOut=60
  17. ;DebugMessages=1
  18. ;550DeleteOverRide=1
  19. ;DeleteOverRide=1
  20. ;Debug=1
  21. ;OnSuccessExec=calc
  22. ;OnFailExec=winmine
  23.  
  24. [SDFTP]
  25. 1=CONN ftp.testserver.com
  26. 2=USER anonymous
  27. 3=PASS testuser@testserver.com
  28. 4=PORT
  29. 5=TYPE A
  30. 6=MPUT /test/ C:\temp\temp2\*.*
  31. 7=QUIT
  32.  
  33.