Inet1 connecting but can't upload - any help appreciated



Hi

I am using the Inet control to link to our web server. I can get the
control to display the directory structure and change directories so I know
it is connecting properly. But I can't get it to GET or PUT files to the
server. I cannot determine why.
I can upload and download files using MS FrontPage without any trouble.

I have checked the Properties of the destination folder. I was hoping to
see if it was write protected but all I can view is:
Allow scripts to be run
Allow files to be browsed
Allow anonymous uploads to this directory
Allow uploaded files to overwrite existing filenames

I have tried various combinations of these four options but to no avail.

I have spent more than a day on this and it is becoming very frustrating.
Any help would be appreciated.

The code I am using is:

Inet1.AccessType = icUseDefault
Inet1.URL = "ftp://XXXXXXXX";
Inet1.UserName = "xxxxxxx"
Inet1.Password = 'yyyyyyy"

Dim strSourceFile As String
Dim strDestinationFile As String

strSourceFile = "C:\Documents and Settings\Alan\Desktop\FileToUpload.txt"
strDestinationFile = "FTP://XXXXXXX/FileToUpload.txt

Inet1.Execute , "PUT " & strSourceFile & " " & strDestinationFile
Do While Inet1.StillExecuting
DoEvents
Loop


Thanks...Alan
---------


.



Relevant Pages

  • Re: Uploading Large File to SQL
    ... However now when I'm upload a 500+mb file I run out of memory on the web server. ... private string SaveFileToSQL ... SqlDataAdapter myDataAdapter = new SqlDataAdapter ...
    (microsoft.public.sqlserver.programming)
  • Re: Uploading Large File to SQL
    ... However now when I'm upload a 500+mb file I run out of memory on the web server. ... private string SaveFileToSQL ... SqlDataAdapter myDataAdapter = new SqlDataAdapter ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Inet1 connecting but cant upload - any help appreciated
    ... I am using the Inet control to link to our web server. ... I can upload and download files using MS FrontPage without any trouble. ... Dim strDestinationFile As String ...
    (microsoft.public.vb.general.discussion)
  • Newbie: Better way to check a magic number on a file?
    ... upload to a Web server. ... Here is the first test - to verify the magic number of the file that I ... I have to unpack my string ...
    (comp.lang.ruby)
  • Re: HttpWebRequest file upload problem
    ... Here is the first on a remote web server. ... Here is the second connection which is just to another folder on my ... File upload failed: System.UnauthorizedAccessException: Access to the path ...
    (microsoft.public.dotnet.languages.csharp)

Loading