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

[REBOL] ftp

From: hijim::pronet::net at: 9-Jul-2001 11:33

I'm trying to add an ftp function to my html editor. I'm using the code below, but I get an error message. file-path is set to /C/web/menu.html I know that is too much information. By the examples I see, I think menu.html is enough. How do I reduce file-path to just the file? I tried first file-path and last file-path -- still the same error. I know I need to join a "%" to the file name in the read %menu.html part. Am I mistaken here? It seems that ftp should know the whole path. button 72 "Upload" [ set [user pass] request-pass/user/title "jimclatfelter" User Name and Password: if file-path <> none [ write ftp://user:[pass--ftp--geocities--com]/file-path read file-path ] ] ** Access Error: Invalid port spec: /C/web/menu.html Thanks, Jim