Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.4k views
in .NET FTP by
I cannot run the demo in the zip file. It can compile and when i run it by clicking "start without debugging" a window prompt out, but it showed:
"Usage: Demo remotehost user password
Press any key to continue"

Then whatever key pressed the window is shut down.
Is the way i run the project wrong?

4 Answers

0 votes
by
You must run with parameter.

Ex.) Demo ftp.microsoft.com anonymous anonymous@microsoft.com

I cannot run the demo in the zip file. It can compile and when i run it by clicking "start without debugging" a window prompt out, but it showed:
"Usage: Demo remotehost user password
Press any key to continue"

Then whatever key pressed the window is shut down.
Is the way i run the project wrong?
0 votes
by
Thanks. But it still don't work. I should run the command under dos right?

[img]D:\My Documents\My Pictures\untitled.bmp
0 votes
by
Thanks.
But it still don't work. I should run the command under dos right?
This is the output i got

D:\edtftpnet-1.1.6\demo>Demo ftp.microsoft.com anonymous anonymous@microsoft.com


D:\edtftpnet-1.1.6\demo>set FTPDLL="edtftpnet-1.1.6.dll"

D:\edtftpnet-1.1.6\demo>del /F *.dll

D:\edtftpnet-1.1.6\demo>del /F *.exe
Could Not Find D:\edtftpnet-1.1.6\demo\*.exe

D:\edtftpnet-1.1.6\demo>copy /Y ..\bin\*.dll .
..\bin\edtftpnet-1.1.6.dll
..\bin\test-edtftpnet-1.1.6.dll
2 file(s) copied.

D:\edtftpnet-1.1.6\demo>copy /Y ..\bin\"edtftpnet-1.1.6.dll" test.dll
1 file(s) copied.

D:\edtftpnet-1.1.6\demo>csc /out:rundemo.exe /target:exe /reference:"edtftpnet-1
.1.6.dll" Demo.cs
'csc' is not recognized as an internal or external command,
operable program or batch file.


i have tried this in C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1, but same reply.
0 votes
by (51.6k points)
Thanks.
But it still don't work. I should run the command under dos right?


Try to run it under the Visual Studio .NET 2003 Command Prompt which you'll find in the Start menu.

- Hans (EDT Support)

Categories

...