User Profile
Collapse
-
FTP Filenames with Spaces
I'm having difficulty using the GET command from within VB6 to copy files from a server to a local machine. These files have spaces within their names. I have tried replacing the spaces with %20 but that does not work. This is being called from within a program so I don't think it has anything to do with putting double quotes around the file name. -
Actually I worked that one out on my own. The subfolder name needs to be added after the DIR part of the command. That works fine. Now that I am into the subfolder on a FTP server, I am unable to use GET to copy files from the subfolder to my PC. Any ideas on that? -
Getting into subfolders on a FTP server
I just need to get the list of files inside subfolders. I'm using the following code:
Inet1.RemotePor t = UserPort
FTPSITE = "ftp://" + UserName + ":" + UserPassword + "@" + txtURLbox
Inet1.Execute FTPSITE, "DIR " '& txtNote.Text
txtNote.Text = Inet1.GetChunk( 500000, 0)
All I can get from this in txtNote.Text is the root directory no matter what...
No activity results to display
Show More
Leave a comment: