FTP Uploading in Lowercase using Inet's EXECUTE

When i upload a file using inet's execute command:

Inet1.execute ,"SEND c:\test.txt test.txt"

the file DOES upload fine but the filename, test.txt is all in UPPERCASE (TEST.TXT) on the remote side.  Is there a way to tell execute to upload the file in the same case format that it read it in from disk (or just send it all in lowercase)?
 
And is there a problem with the CD command in EXECUTE...it repeatedly comes back with a DIRECTORY NOT FOUND error.
I've tried both slash directions: "CD /testdir" and "CD \testdir" with no luck...i guess this may be a bug.
 
Please answer both questions if you can!
qwixAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mrmickCommented:
qwix, some servers do not support case sensitive filenames.  When you examine other files on the server, are they also all in uppercase?

In regards to the CD command, try using the full path on the remote system with "/" being the root (don't include a drive letter) of the virtual directory (usually not the root on the server) and use forward slashes as the path separator.

0
qwixAuthor Commented:
Actually i found out that the reason the CD command wasnt working was BECAUSE of the case sensitivity...So if i figure out the case problem i will figure out the CD problem.
When i log on to the site i find that the site is case sensitive so if i were to "CD /test" this would be different from "CD /TEST"...the odd thing is that when i use the SEND or CD command of inet's execute it ALWAYS delivers to the remote host all in capital letters...so if i were to send a command :
inet1.execute ,"CD /home/test" it would actually send "CD /HOME/TEST".  Once the remote host sees this it CAN'T find the directory because it is all in capital letters when it should have been in lowercase.  Is there an extra parameter that i can send to make the command all in lowercase?
 
Thanks for your help mrmick so far...
0
mrmickCommented:
Sorry to report this...

Check out Microsoft Knowledge Base Article ID: Q168766
Title: "BUG: Internet Transfer Control Fails on Case-Sensitive Server"
http://premium.microsoft.com/support/kb/articles/q168/7/66.asp

I thought this was fixed with the SP3 release.  Are you running VB5 Service Pack 3?

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

qwixAuthor Commented:
Actually i have service pack 1....where can i get this new version update?!?
0
qwixAuthor Commented:
Thanks for the MAJOR info mrmick...please ANSWER back so i can give you the 200 points....thanks a lot.

0
mrmickCommented:
No problem.

Get SP3 at:

http://www.microsoft.com/vbasic/download/sp/

It's about 10 MB so be prepared to wait.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mrmickCommented:
whoops, It's 12.6 MB
0
qwixAuthor Commented:
I got SP3 and it corrects the problem...thanks
the odd thing now is that it appears sp3 has a bug in preventing "SIZE" from working...in my old sp1 it worked perfectly but NOW with this sp3 installed it doesnt recognize it as a command at all....here is what i send:

inet1.execute(,"SIZE test.txt")   'test.txt is the file i want to                                   'find the file size of

If you dont answer this i will completely understand...thanks for your MAJOR help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.