Click to See Complete Forum and Search --> : Filesnames with spaces


Ryanitus
October 16th, 2001, 10:23 PM
I am using an Inet control to download files using the FTP protocol. For the Inet control, the command to download a file is:

Inet1.Execute(, "get \path\file1.txt C:\path\file1.txt")



The first path is the path on the remote computer, the second is where to download the file. I need to be able to download files with spaces in them, but for the Inet control, the spaces will mess up the command since it is all surrounded by quotation marks. It uses a space to separate the different paths. Does Inet support the ~1 at the end of files like DOS? How do I get around the spaces in the filenames.

Thanks,
Ryan