> are you sure the specified user can upload files
> yes,i am sure
>> ########
>> Net::FTP.open('showreelfinder.com') do |ftp|
>> � � � ftp.passive=true
>> � � � ftp.login(name,password)
>> � � � ftp.chdir('www.showreelfinder.com/web/site/temp/uploads/heywatch
>> � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �/thumbnails')
>>
>> � � �thumbnail_file=StringIO.new(thumbnail)
>> � � �ftp.storbinary("STOR"+"#{thumb_title}",thumbnail_file,1024)
>
> Looks like you are missing a space after STOR,
thank,i will try.
you should probably
> also make the chdir and absolute path.
I am sure the following path is right
> www.showreelfinder.com/web/site/temp/uploads/heywatch/thumbnails
> Fred
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---