• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

inet problems

Why cant the inet control accept spaces in directory names like:
c:\my documents\upload

Do I have to use short file names.
Anybody have a clue and some sample code?
0
neo23
Asked:
neo23
  • 2
1 Solution
 
Erick37Commented:
From an FTP example found at:
http://www.zdjournals.com/ivb/9806/ivb9861.htm

"The FTP Command Line doesn't allow spaces in the filename or path. To solve this problem, you can take one of the following steps:

1. Use relative paths when specifying local files (which is the option we used in the sample program).

2. Place quotation marks (Chr(34)) around the full path and filename (such as C:\My FTP Files\TestFile.txt) in the ftp command.

3. Use the 8.3-character directory name.

4. Don't allow spaces in directory names."
0
 
Erick37Commented:
Creating short path names:

"HOWTO: Get a Short Filename from a Long Filename"

http://support.microsoft.com/support/kb/articles/Q175/5/12.ASP
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now