User Profile

Collapse

Profile Sidebar

Collapse
rockybeach
rockybeach
Last Activity: Jan 4 '12, 12:34 AM
Joined: Dec 30 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rockybeach
    started a topic FTP Filenames with Spaces

    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.
    See more | Go to post

  • 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?
    See more | Go to post

    Leave a comment:


  • rockybeach
    started a topic Getting into subfolders on a FTP server

    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...
    See more | Go to post
No activity results to display
Show More
Working...