I'm trying to connect from one server to another using FTP. By using command line, everything thing is ok. however when using Windows Explorer to browse to the FTP location i get timeout issue.
I've tried connecting using a .net code, and I got the following exception
The remote server returned an error: 227 Entering Passive Mode (192,168,231,1,4,218).
The question was about Windows Explorer, not IE. If ftp.exe can connect, but Windows Explorer can't, then you have a Passive FTP server, and you need to un-check
Control Panel > Internet Options > Advanced Settings > "Use Passive FTP"
then click Apply - now Windows Explorer will be able to connect to the FTP server.
You probably need to connect using an active connection rather than a passive one. There's a Microsoft Knowledge Base about configuring Internet Explorer at http://support.microsoft.com/kb/323446. The command line ftp.exe doesn't support passive transfers, so to make IE match it you would leave "Use Passive FTP" unchecked. For any library you use, look for documentation discussing whether it uses PASV (passive) or PORT (active) to open the data channel.
I had similar problem, but not the same reason (not passive mode).
Shortly: if you happen to have a '#' in your login, replace it with %40, when creating a new network location in Windows Explorer. Otherwise the system will not find the server or show empty ftp folder.
Hope it helps someone.
Related
i got following cmd command, i want to start an .exe installer with this, but when i execute it the message after it pops up.
START "DSM-Agent setup..." /WAIT /D %PATH% InstallClient.exe
The Message:
I already tried adding domains or something to the registry but nothing worked.
This is in an automation script, so the message is very deal breaking.
I hope someone can help me.
Additional Info:
The script should run on Windows Server OS
The exe is on another server
Are you running it from a network location?
This is the reason for the message.
The network share is not trusted by your computer, so it warns you.
You need to add the network server to your trusted servers:
In Internet Explorer:
Internet Options → Security tab
Local Intranet → Sites
Check Automatically detect intranet network
Advanced → Add this website to the zone:
Enter → file://path → OK
** You need to restart explorer.exe for the changes to take effect
I have the Notepad++ FTP plugin installed, and I'd like to use it in Passive Mode - I don't want my files saved to the server immediately; I want to be able to control when I upload a file.
However, switching between Active and Passive mode in the profile manager appears to not do anything. Whenever I open a file from the local cache, modify it, and save it it gets uploaded immediately.
Am I doing something wrong, or is this feature just broken?
Thanks!
I have been using a script forever that uses the windows command line FTP to upload files to a third-party server. (I'm using Windows 7.) Third party recently got a new server and now I can still connect but I can't issue any commands without the connection hanging. I can't even do ls much less a put. It hangs on "Opening data connection for...." After much research I've narrowed it down to their new server not being configured to allow "active mode" FTP connections. I can't configure their server for them, and at this point I'm not sure how competent the server manager is. So I want to know what steps I can tell them to do to configure the server to allow "active mode" FTP connections. I assume their using a windows 7 machine. What do I need to tell them?
Follow this:
Control Panel -> Internet Options -> Advanced tab
Scroll down until you find a checkbox labeled "Use Passive FTP".
Uncheck it.
I have just set up a Guest Windows 2008 R2 Standard Edition 64bit (VirtualBox on Windows 7 64 bit host) for some testing.
I have found that while "inside" the remote desktop environment (i.e. I remote onto the guest ip from the host) that copy and paste does not work. When I say "does not work" let me be explicit.
Assume I am logged onto the Win2008 machine via RDC
Nothing is in the copy/paste buffer. I can mouse click some text and then rclick copy. I can then right click and click "paste" but nothing happens. I can see the "choice" is enabled to paste bu nothing happens. The caret stays put.
CTRL+C / CTRL-V / CTRL-X does not work in RDC land
I am not talking about going in-between copy/paste RDC land/host land.
HERE is the double whammy: when I do the above it then "infects" my host pc so that copy paste is unavailable there too. if PRT SCR doesn't work any more.
I have tried:
restarting the guest os and host os
in group policy editor I have disabled "do not allow clip board redirection" ( I can't give you the full path to this copy/paste just broke again)
I have made sure that in RDC "options" for local resources include clipboard.
NB: if I don't touch RDC at all and log into the guest OS via the console copy paste works perfectly
Kill the rdpclip.exe process using the Task Manager. Then, create a new process named rdpclip.exe. This will solve your problem.
Follow these steps in Remote Machine.
Stop the rdpclip process
Open Task Manager.
Go to process tab and find rdpclip
Choose rdpclip and End that task.
Start rdpclip.exe
Go to start menu and open Run command
Open rdpclip.exe and click Ok button.
Copy paste should work now.
it appears this is a flaw with VirtualBox
these posts covers it
https://forums.virtualbox.org/viewtopic.php?f=6&t=44498 (read the last post)
https://github.com/FreeRDP/FreeRDP/issues/230
(In VirtualBox) SETTINGS->GENERAL->[Advanced]->Shared Clipboard {disabled}
There are multiple things to check.
Restarting rdpclip.exe is a worthy try if the copy/paste fails sporadically, meaning we might on a process in a previous session.
On the client side, we check the RDP Options. Click on the Show Options button in the bottom, pick the third tab Local Resources. Make sure Clipboard is checked.
On the remote server side, we want to check Remote Desktop Session Host Configuration (Win Server 2008+).
Double click the connection to open its Properties window.
In the tab named Client Settings, Make sure Clipboard is not disabled.
We need to log off from the remote desktop.
Workaround
Use an online shared text box like this one:
https://pastebin.com/
My operating system is Windows 7 32bit. I installed RedMon1.7, Ghostscript 8.71 and GSview 4.9; installations were successful.
I went to Add New Local Printer in Windows Devices and Printers, clicked on Create A New Port, and selected Redirected Port from the Type of Port list. Clicked Next and in the Add New Port window I named RPT1: and clicked OK but it says Specified port cannot be added. Operation could not be completed (error 0x00000001)
I tried giving different names to the port, RPT2:, RPT4:, VPport: etc but all gave same result. Disabled Windows Firewall and tried but it continues to give same error, Disabled the Antivirus (Avira) but no change.
What can be preventing windows 7 from adding redirected port?
BTW I was following instructions in this tutorial in order to create a postscript printer.
http://www.stat.tamu.edu/~henrik/GSPSprinter/GSPSprinter.html
Appreciate any ideas or suggestions. Thanks
Run cmd.exe as Administrator and then run:
rundll32 printui.dll,PrintUIEntry /il
from the elevated cmd.
Go to your Start Menu,
Type Print,
Right-Click "Print Management",
Select "Run as administrator",
In Print Management; Expand "Print Servers" and Select "Ports".
Right-Click in the "Ports" pane (on the right hand side) and Select "Add Port...".
I'd also recommend configuring a Port from Print Management, as opposed to trying to do it in a Printers Properties. ;)
Adam Reed describes a workaround in his blog:
http://borntoidentify.blogspot.com/2010/09/configuring-virtual-printer-using.html
Not very comfortable, but works for me ...
EDIT: This link appears broken, but here's the content:
https://web.archive.org/web/20120628120209/http://borntoidentify.blogspot.com/2010/09/configuring-virtual-printer-using.html
The gist is that under Win7, you need to run explorer with elevated rights. This can be done using another browser, or, as mentioned in the comments on the original post:
Open a CMD window by right clicking and running as administrator
Kill the process explorer.exe from the task manager
Run explorer.exe from the command prompt window, now as an administrator.
Be very careful when running explorer as an administrator.
You need to enable Admin mode OR log with the Admin account!
This is cause by the new Vista/Win 7 security system.
Try reseting the firewall (Windows 7)
(be warned tho, the firewall will reset to the default setting)
*go to Control Panel
*go to Windows Firewall
*on the left choice pick "Restore Defaults"
It works for me, i hope it works for you.
F3lix's rundll32 method works but after you've created the port you most probably would need to configure its settings. Elsewhere in the net there are instructions to open Port management as Administrator, but in Windows 7 Home that seems to be very much impossible. One can only view the virtual port settings. The only workaround I found is to edit registry directly with the Registry editor at
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\Redirected Port\Ports\RPT1:
(Replace your port name in the end.)
It seams to be tricky. In my case it only works, after creating an new User account with the name "admin" / group " Administratoren" (de).
Before with my real Nickname User "Nick.." / group "Administratoren" (de) it dosent work´.
Takes several hours to discover ...
Accepted solution did not work for me...I found an other command line that worked well (I'm on windows 10):
%systemroot%\system32\printmanagement.msc
It opens the print management in administrator mode, and I was able to create the port with no problems.