| To: | REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Shell Char Problem |
| From: | Leonardo Lima de Vasconcellos <lv at quanticsolutions dot com> |
| Date: | Tue, 28 May 2002 14:24:52 -0300 |
|
I´m working on a project that sends files using FTP. To make this more easy I´m using a shell class (since this will work on MAC OS X) to send files via ncftp. Here is my code: Dim s as shell s=new shell s.mode=2 s.execute "ncftp ftp://leonardo:123456 at 192 dot 168 dot 7 dot 2/Leo" s.writeline "put '/Users/leonardo/Desktop/Anúncio Final/AdWaterfalls.AP'" And I get this as return: ncftp /Users/leonardo/Leo > put '/Users/leonardo/Desktop/Anúncio Final/AdWaterf$t '/Users/leonardo/Desktop/Anúncio Final/AdWaterfa$ '/Users/leonardo/Desktop/Anúncio Final/AdWaterfal$'/Users/leonardo/Desktop/Anúncio Final/AdWaterfall$/Users/leonardo/Desktop/Anúncio Final/AdWaterfalls$Users/leonardo/Desktop/Anúncio Final/AdWaterfalls.$sers/leonardo/Desktop/Anúncio Final/AdWaterfalls.A$ers/leonardo/Desktop/Anúncio Final/AdWaterfalls.AP$rs/leonardo/Desktop/Anúncio Final/AdWaterfalls.AP'put '/Users/leonardo/Desktop/Anúncio Final/AdWater$ Cannot open local file /Users/leonardo/Desktop/Anúncio Final/AdWaterfalls.AP for reading: No such file or directory. put /Users/leonardo/Desktop/Anúncio Final/AdWaterfalls.AP: could not open file. ncftp /Users/leonardo/Leo > What´s wrong? Maybe because the "ú", but if I open a Terminal and type exactly the same thing everything works fine. I´ve tried to add the "tcsh" command frist of all but it didn´t make a difference. The command "sh" either. Help me, Please! I´m stucked! Leonardo Lima de Vasconcellos___________________________________________________________ Microsoft Cerfied Professional Quantic Solutions - Developer www.quanticsolutions.com (047) 4333839 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | REALinsects v2.1.7, Kevin Ballard |
|---|---|
| Next by Date: | Re: Shell Char Problem, Joseph J. Strout |
| Previous by Thread: | Re: multiuser database, Norman Palardy |
| Next by Thread: | Re: Shell Char Problem, Joseph J. Strout |
| Indexes: | [Date] [Thread] [Top] [All Lists] |