Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Computer Support > spawn to ftp in win 7

Reply
Thread Tools

spawn to ftp in win 7

 
 
RickMerrill
Guest
Posts: n/a
 
      09-10-2010
In Windows xp my C program can spawn to an FTP
task that gets a file from a remote server.

But the same program under Windows 7 hangs!
"...
ftp> binary
200 type set to I
ftp> get info.txt
200 PORT command successful
"

and never another word! What do I look for?
 
Reply With Quote
 
 
 
 
Meat Plow
Guest
Posts: n/a
 
      09-10-2010
On Fri, 10 Sep 2010 12:31:53 -0400, RickMerrill wrote:

> In Windows xp my C program can spawn to an FTP task that gets a file
> from a remote server.
>
> But the same program under Windows 7 hangs! "...
> ftp> binary
> 200 type set to I
> ftp> get info.txt
> 200 PORT command successful
> "
>
> and never another word! What do I look for?


Try running cmd.exe as administrator.



--
Live Fast, Die Young and Leave a Pretty Corpse
 
Reply With Quote
 
 
 
 
RickMerrill
Guest
Posts: n/a
 
      09-10-2010
Meat Plow wrote:
> On Fri, 10 Sep 2010 12:31:53 -0400, RickMerrill wrote:
>
>> In Windows xp my C program can spawn to an FTP task that gets a file
>> from a remote server.
>>
>> But the same program under Windows 7 hangs! "...
>> ftp> binary
>> 200 type set to I
>> ftp> get info.txt
>> 200 PORT command successful
>> "
>>
>> and never another word! What do I look for?

>
> Try running cmd.exe as administrator.
>


That tipped me to the firewall causing this: the firewall
would only pop to a cmd window, but not to a spawn - or so
it seemed.

Thanks.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applet to run on Win 98, Win ME, Win XP, Win Vista & Win 7 ?? Krist Java 6 05-06-2010 11:53 PM
Logging stdout/stderr/stdin of an spawn process (Open4::spawn) Edgardo Hames Ruby 1 05-06-2008 08:17 PM
Logging stdout/stderr/stdin of an spawn process (Open4::spawn) Ed Hames Ruby 0 04-16-2008 04:21 PM
spawn syntax + os.P_WAIT mode behavior + spawn stdout redirection Derek Basch Python 2 01-21-2005 05:37 AM
Net::FTP problems getting files from Windows FTP server, but not Linux FTP Server. D. Buck Perl Misc 2 06-29-2004 02:05 PM



Advertisments