In VB6 I want to pass a path to the Inet control, but when
there are spaces in the filename, the file isn't recognized.
Inet.Execute "ftp://myhost.com", "PUT " & "LocalPath" & " " & TargetPath
If LocalPath = C:\test.txt it works file but if LocalPath = C:\My Documents\
Administrator\My Documents\test.txt FTP chokes on it.
I'm new to VB. Is there a workaround for this?