Re: C# Ftp client
From: Boris (boris_at_crabel.com)
Date: 09/23/04
- Next message: Joe: "TabControl.TabPages.Add giving error Index outside bounds of the array"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: upload timestamp"
- In reply to: Ignacio Machin \( .NET/ C# MVP \): "Re: C# Ftp client"
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: C# Ftp client"
- Reply: Nicholas Paldino [.NET/C# MVP]: "Re: C# Ftp client"
- Reply: Ignacio Machin \( .NET/ C# MVP \): "Re: C# Ftp client"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Sep 2004 11:22:36 -0400
Hi Ignacio,
Thanks for the response. You are right. I was running it from the network
share, and as soon as I ran it on local machine, it started working.
I am trying to implement FTP client to perform the following tasks
1) Login to remote UNIX server
2) Create appropriate directory, if not already exists
3) Upload the file into the directory
4) Delete file from the directory
Would TcpClient provide me with this functionality? Do you have any code
examples?
Thanks,
-Boris
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:%23kBPgtXoEHA.692@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> This may seems like a silly question, but are you running it from a
> network
> share?
>
> It seems like a permission issue, maybe the user you are running under
> does
> not have enough privilegies
>
> btw, you should use TcpClient instead of Socket, unless you are planning
> to
> use some low level functions.
>
> Cheers,
>
> --
> Ignacio Machin,
> ignacio.machin AT dot.state.fl.us
> Florida Department Of Transportation
>
>
> "Boris" <boris@crabel.com> wrote in message
> news:eIBo$qXoEHA.1176@TK2MSFTNGP12.phx.gbl...
>> I am trying to develop C# ftp client to upload files to remote host.
>> Whenever, I execute System.Net.Sockets.Socket.Connect method, .Net
> Framework
>> raises the following exception
>>
>> Request for the permission of type System.Net.SocketPermission, System,
>> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
> failed.
>>
>> Why does this happen?
>>
>> Thanks,
>> -Boris
>>
>>
>>
>
>
- Next message: Joe: "TabControl.TabPages.Add giving error Index outside bounds of the array"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: upload timestamp"
- In reply to: Ignacio Machin \( .NET/ C# MVP \): "Re: C# Ftp client"
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: C# Ftp client"
- Reply: Nicholas Paldino [.NET/C# MVP]: "Re: C# Ftp client"
- Reply: Ignacio Machin \( .NET/ C# MVP \): "Re: C# Ftp client"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|