Am Dienstag 13 Januar 2004 01:21 schrieb Behrang Saeedzadeh: > 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?
Yes, the example is misleading. you need the full filename for target. write/binary ftp://xxx:[EMAIL PROTECTED]/wwwdocs/behrangsa.png read/binary %behrangsa.png should work. and if behind firewall system/schemes/ftp/passive: true > Thanks in advance, > Behrang S. > -Volker -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
