Hi, I would first try putting a filename after the Folder name or put a terminating / to specify REBOL wwwdocs is a folder name (by convention I think REBOL is waiting for a / after a folder name)
HTH, Gerard ----- Original Message ----- From: "Behrang Saeedzadeh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 12, 2004 7:21 PM Subject: [REBOL] Oneline FTP Probelm > > Hi > > In the oneliners section I saw the following code > snippet for transferring a file via ftp protocol: > > write/binary ftp://user:[EMAIL PROTECTED] > read/binary %file > > I have a file called behrangsa.png (I have copied it > to the view directory) and I want to send it to the > machine where my site is hosted on it but I get the > following error message: > > User Error: Server error: tcp 553 Can't open that > file: Is a directory > ** Near: write/binary > ftp://xxx:[EMAIL PROTECTED]/wwwdocs read/binary > %behrangsa.png > > (I want to send the file to the wwwdocs folder as it's > mapped to the www subdomain) > > Any ideas? > > Thanks in advance, > Behrang S. > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > -- > To unsubscribe from this list, just send an email to > [EMAIL PROTECTED] with unsubscribe as the subject. > > -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
