mspocketpc.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FTP via GPRS

 
Post new topic   Reply to topic    mspocketpc.org Forum Index -> Developer Networking
Author Message
Fabio Mastria



Joined: 15 Nov 2007
Posts: 2

PostPosted: Thu Nov 15, 2007 10:01 pm    Post subject: FTP via GPRS Reply with quote

Hi

I wrote an application for smart device in .net 2.0
I try to connect to a site via FTP and upload some file and download some
file.

If the mobile device is connected via usb to the server FTP (via lan) , all
works.
The same application via GPRS (using public ip and public user to login)
produce a socket error: the application connect to the server FTP, make
upload with success, but when it's download time the server ftp close the
connection to the device!

So...
Connection ok
Upload ok
Download ... error!

Why this happens?

Thank you and best regards
Fabio

Archived from group: microsoft>public>pocketpc>developer>networking
Back to top
View user's profile Send private message
Yaroslav Goncharov



Joined: 15 Aug 2007
Posts: 682

PostPosted: Fri Nov 16, 2007 9:03 pm    Post subject: Re: FTP via GPRS Reply with quote

Did you sniff traffic? Is connection closed at the TCP level?

--
Yaroslav Goncharov
Pocket PC Developer Network coordinator, http://pocketpcdn.com
Spb Software House, http://spbsoftwarehouse.com


"Fabio Mastria" wrote in message @microsoft.com...
> Hi
>
> I wrote an application for smart device in .net 2.0
> I try to connect to a site via FTP and upload some file and download some
> file.
>
> If the mobile device is connected via usb to the server FTP (via lan) ,
> all works.
> The same application via GPRS (using public ip and public user to login)
> produce a socket error: the application connect to the server FTP, make
> upload with success, but when it's download time the server ftp close the
> connection to the device!
>
> So...
> Connection ok
> Upload ok
> Download ... error!
>
> Why this happens?
>
> Thank you and best regards
> Fabio
Back to top
View user's profile Send private message
Fabio Mastria



Joined: 15 Nov 2007
Posts: 2

PostPosted: Fri Nov 16, 2007 9:37 pm    Post subject: Re: FTP via GPRS Reply with quote

Now i see that the problem is on the ftp server.

I have downloaded a free mobile ftp client and also this client doesn't work
on the ftp via GPRS. But my software and this client work on another ftp
server.

I don't know what the ftp server has wrong...

I'm trying to check the server configuration.

"Yaroslav Goncharov" ha scritto nel messaggio @TK2MSFTNGP05.phx.gbl...
> Did you sniff traffic? Is connection closed at the TCP level?
>
> --
> Yaroslav Goncharov
> Pocket PC Developer Network coordinator, http://pocketpcdn.com
> Spb Software House, http://spbsoftwarehouse.com
>
>
> "Fabio Mastria" wrote in message
> @microsoft.com...
>> Hi
>>
>> I wrote an application for smart device in .net 2.0
>> I try to connect to a site via FTP and upload some file and download some
>> file.
>>
>> If the mobile device is connected via usb to the server FTP (via lan) ,
>> all works.
>> The same application via GPRS (using public ip and public user to login)
>> produce a socket error: the application connect to the server FTP, make
>> upload with success, but when it's download time the server ftp close the
>> connection to the device!
>>
>> So...
>> Connection ok
>> Upload ok
>> Download ... error!
>>
>> Why this happens?
>>
>> Thank you and best regards
>> Fabio
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
gprs can anyone advice me how i can create a gprs connection for my PPC application to send info from a DB when i hit a send button. I am using C# for PPC 2002. I believe i may need to write a wrapper and use the API's. Has anyone done this before, or can some

GPRS Is there any differences when developing for PCC 2002 and Windows Mobile 2003 when it comes to developing for GPRS apps with .NET CF 2003. I believe i can either use 3rd party software or use the API's for GPRS connection. Im developing for PPC 2002 at pr

gprs Qos API on wm 5.0 Hi! I am a developer in an ISV. Is there an accessible API that can help 1. creating many GPRS PDP Contexts 2. setting QoS level to these contexts 3. and using these contexts to send data. ? I'm using WM 5.0 on Qtek 9000. Thanks for replying

Connect via GPRS Hi, do any of you have sample codes which help in connect gprs? Thx Regards, JC

GPRS / ConnectionManager I want to communicate with a port on localhost and each time i start a server socket the Connection manager automatically opens a GPRS connection. How can i configure the Connection manager to avoid that ?
Post new topic   Reply to topic    mspocketpc.org Forum Index -> Developer Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group