I was working on it again last night... for some WEARD reson its having a laff with me.
This works:
cmd = "put " & "c:\" & FileName & " " & Directory & FileName
This doesent:
cmd = "put " & App.Path & "\" & FileName & " " & Directory & FileName
Now the confusing thing is.... its the same directory
App.Path is c: (with \ added) So why don't it upload
stats.exe bug
- leigon
- World Owner
- Posts: 563
- Joined: Thu Apr 15, 2004 11:23 pm
- Location: UK - Programming under the influance.
the command works like this:
put directory\file.exe externaldirectory\externalfile.exe
As you can see there are 2 spaces
cmd = "put " & "c:\statsreader\" & FileName & " " & Directory & FileName
Is the same as:
put c:\statsreader\info.htm www\info.htm
2 spaces... so it will work
cmd = "put " & "c:\stats reader\" & FileName & " " & Directory & FileName
Is the same as:
put c:\stats reader\info.htm www\info.htm
3 spaces so it won't work....
I have even tryed the following with no luck... any ideas? come on magic you should know one or two tricks
put 'c:\stats reader\info.htm' 'www\info.htm'
put "c:\stats reader\info.htm" "www\info.htm"
put c:\stats%20reader\info.htm www\info.htm
put directory\file.exe externaldirectory\externalfile.exe
As you can see there are 2 spaces
cmd = "put " & "c:\statsreader\" & FileName & " " & Directory & FileName
Is the same as:
put c:\statsreader\info.htm www\info.htm
2 spaces... so it will work
cmd = "put " & "c:\stats reader\" & FileName & " " & Directory & FileName
Is the same as:
put c:\stats reader\info.htm www\info.htm
3 spaces so it won't work....
I have even tryed the following with no luck... any ideas? come on magic you should know one or two tricks
put 'c:\stats reader\info.htm' 'www\info.htm'
put "c:\stats reader\info.htm" "www\info.htm"
put c:\stats%20reader\info.htm www\info.htm