Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] ftpupload.r (rebol newbie)

From: leeric:ak at: 29-Oct-2000 21:25

Hello all, be gentle, I am a newbie with rebol. I have tried to use a modified version of the ftpupload.r from the script library to write files to a ftp site as follows: ____________________________________________________________________________ _________ REBOL [ Title: "Upload Several Files" File: %ftp-gci-upload.r Date: 26-May-1999 Purpose: {Upload multiple files with FTP using login and password.} Category: [ftp net file 1] ] site: ftp://themarvins:[secret--home--gci--net]/~themarvins/gen/ files: [%marvinline.htm %rupeline.htm] foreach file files [ write site/:file read file ] ____________________________________________________________________________ _________ I keep getting a: ** User Error: Server error: tcp 550 ./~themarvins/gen/: No such file or directory.. ** Where: write site/:file read file
Using Directory Opus FTP capabilities, I have show the path to really be: I have tried these and several other alternate paths with and without a ending "/" after "/gen" to this site with no success. I have send an email to [support--gci--net] and am waiting a reply concerning their path structure. Is there anything else about this subject of REBOL that you folks can enlighten me upon? Once I resolve the above problem. Could someone show me how to redo the script so I don't have to type in each file name I desired copied, rather have a wild card to all the files in the current directory from which I run the script from? Also, how do I run a rebol script from the NT AT command, or cron type utilitiy (I'll take suggestion for cron utilities) Thanks in advance. LeEric S. Marvin [leeric--ak--net] ACSE MCSE MCP+I A+ GROL WL7UO Amiga/WIN95-8/NT40/WIN2000/LINUX WINTEL Custom/PII-300/64MB/15.3GB/DVDx10/ZIP100/NT40